Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1203)

Unified Diff: Source/core/loader/ImageLoader.h

Issue 654253003: Error event shouldn't fire when image is updated on environment changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/loader/ImageLoader.h
diff --git a/Source/core/loader/ImageLoader.h b/Source/core/loader/ImageLoader.h
index 4f41d50756ba1e899763aacc486070cf8f58c7ea..5a2f12f4d5d9c9645b27a76f8356811632886747 100644
--- a/Source/core/loader/ImageLoader.h
+++ b/Source/core/loader/ImageLoader.h
@@ -186,6 +186,7 @@ private:
bool m_imageComplete : 1;
bool m_loadingImageDocument : 1;
bool m_elementIsProtected : 1;
+ bool m_suppressErrorEvents : 1;
unsigned m_highPriorityClientCount;
};
« no previous file with comments | « LayoutTests/fast/dom/HTMLImageElement/image-srcset-w-onerror-expected.txt ('k') | Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698