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

Unified Diff: cc/resources/transferable_resource.cc

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: rebased Created 4 years 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 | « cc/resources/transferable_resource.h ('k') | cc/resources/video_resource_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/transferable_resource.cc
diff --git a/cc/resources/transferable_resource.cc b/cc/resources/transferable_resource.cc
index cf463bf3577955fecee40cbbe1b1567cb5ef8ee0..a0bd745b4095981dee7ba00b59499f3230d716b0 100644
--- a/cc/resources/transferable_resource.cc
+++ b/cc/resources/transferable_resource.cc
@@ -13,7 +13,12 @@ TransferableResource::TransferableResource()
filter(0),
read_lock_fences_enabled(false),
is_software(false),
- is_overlay_candidate(false) {}
+#if defined(OS_ANDROID)
+ is_backed_by_surface_texture(false),
+ wants_promotion_hint(false),
+#endif
+ is_overlay_candidate(false) {
+}
TransferableResource::TransferableResource(const TransferableResource& other) =
default;
« no previous file with comments | « cc/resources/transferable_resource.h ('k') | cc/resources/video_resource_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698