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

Unified Diff: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp

Issue 2859313003: Blink class layout optimization to reduce memory usage (Closed)
Patch Set: Resolved merge conflict and changed blink::ResourceStatus enum to be based on uint8_t Created 3 years, 7 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: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
index 4cd7ff8b09db9b1859da7e2757439b65bde55f0a..cedd52361bdb02e15bc92189820326eead262b0f 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
@@ -84,9 +84,9 @@ std::unique_ptr<DeferredImageDecoder> DeferredImageDecoder::CreateForTesting(
DeferredImageDecoder::DeferredImageDecoder(
std::unique_ptr<ImageDecoder> actual_decoder)
- : all_data_received_(false),
- actual_decoder_(std::move(actual_decoder)),
+ : actual_decoder_(std::move(actual_decoder)),
repetition_count_(kCAnimationNone),
+ all_data_received_(false),
can_yuv_decode_(false),
has_hot_spot_(false) {}

Powered by Google App Engine
This is Rietveld 408576698