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

Unified Diff: Source/core/html/parser/HTMLPreloadScanner.cpp

Issue 1073783002: Turned m_sourceSize in preloadScanner to a float. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « LayoutTests/http/tests/loading/preload-image-sizes-2x-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLPreloadScanner.cpp
diff --git a/Source/core/html/parser/HTMLPreloadScanner.cpp b/Source/core/html/parser/HTMLPreloadScanner.cpp
index d554c9b3c8c7a38a717b2e59b88254e44d473d9e..16607134a3acb3d091721e8515031c8ee8c105b4 100644
--- a/Source/core/html/parser/HTMLPreloadScanner.cpp
+++ b/Source/core/html/parser/HTMLPreloadScanner.cpp
@@ -371,7 +371,7 @@ private:
bool m_inputIsImage;
String m_imgSrcUrl;
String m_srcsetAttributeValue;
- unsigned m_sourceSize;
+ float m_sourceSize;
bool m_sourceSizeSet;
bool m_isCORSEnabled;
FetchRequest::DeferOption m_defer;
« no previous file with comments | « LayoutTests/http/tests/loading/preload-image-sizes-2x-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698