removed blather code
git-svn-id: svn://10.0.0.236/trunk@3249 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -305,9 +305,6 @@ nsPresContext::StopLoadImage(nsIFrame* aForFrame)
|
||||
nsIFrame* loaderFrame;
|
||||
loader->GetTargetFrame(loaderFrame);
|
||||
if (loaderFrame == aForFrame) {
|
||||
#ifdef NOISY_IMAGES
|
||||
printf("%p: removing %p\n", this, aForFrame);
|
||||
#endif
|
||||
loader->StopImageLoad();
|
||||
NS_RELEASE(loader);
|
||||
mImageLoaders.RemoveElementAt(i);
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
#include "nsString.h"
|
||||
#include "prlog.h"
|
||||
|
||||
#undef NOISY
|
||||
|
||||
static NS_DEFINE_IID(kIFrameImageLoaderIID, NS_IFRAME_IMAGE_LOADER_IID);
|
||||
static NS_DEFINE_IID(kIImageRequestObserverIID, NS_IIMAGEREQUESTOBSERVER_IID);
|
||||
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
|
||||
@@ -178,9 +176,6 @@ nsFrameImageLoader::Notify(nsIImageRequest *aImageRequest,
|
||||
|
||||
switch (aNotificationType) {
|
||||
case nsImageNotification_kDimensions:
|
||||
#ifdef NOISY
|
||||
printf("image for %p: %d x %d\n", mTargetFrame, aParam1, aParam2);
|
||||
#endif
|
||||
mSize.width = aParam1;
|
||||
mSize.height = aParam2;
|
||||
mImageLoadStatus |= NS_IMAGE_LOAD_STATUS_SIZE_AVAILABLE;
|
||||
|
||||
@@ -305,9 +305,6 @@ nsPresContext::StopLoadImage(nsIFrame* aForFrame)
|
||||
nsIFrame* loaderFrame;
|
||||
loader->GetTargetFrame(loaderFrame);
|
||||
if (loaderFrame == aForFrame) {
|
||||
#ifdef NOISY_IMAGES
|
||||
printf("%p: removing %p\n", this, aForFrame);
|
||||
#endif
|
||||
loader->StopImageLoad();
|
||||
NS_RELEASE(loader);
|
||||
mImageLoaders.RemoveElementAt(i);
|
||||
|
||||
Reference in New Issue
Block a user