diff --git a/mozilla/include/net.h b/mozilla/include/net.h index f2206c2a898..3347606fd3e 100644 --- a/mozilla/include/net.h +++ b/mozilla/include/net.h @@ -474,9 +474,6 @@ struct URL_Struct_ { */ /* larubbio */ int owner_id; /* unique ID for each library: NPL (plugins) => 0x0000BAC0; - EDITOR => 0x000000ED; - used to tell Image MIME converter we are an editor - (see IL_ViewStream in libimg/external.c) */ void *owner_data; /* private data owned by whomever created the URL_Struct */ char *page_services_url; diff --git a/mozilla/modules/libimg/src/if.cpp b/mozilla/modules/libimg/src/if.cpp index 340ed62c88a..678f1da0a88 100644 --- a/mozilla/modules/libimg/src/if.cpp +++ b/mozilla/modules/libimg/src/if.cpp @@ -1874,12 +1874,6 @@ IL_GetImage(const char* image_url, ic->net_cx->AddReferer(url); #endif - /* EXTREME HACK ALERT! - Special signal for Composer (Editor) - This will be used in IL_ViewStream to tell we are an editor - and use IL_NewStream instead (as we did in 4.06 code) */ - url->SetOwnerId((int)flags); - ic->is_looping = FALSE; ic->url = url; /* Record the fact that we are calling NetLib to load a URL. */