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

Unified Diff: cc/layers/video_layer_impl.h

Issue 1387283002: cc: Remove redundant is_overlay arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo changes on overlay_strategy_single_on_top.cc Created 5 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
« no previous file with comments | « cc/layers/texture_layer_impl.cc ('k') | cc/layers/video_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_layer_impl.h
diff --git a/cc/layers/video_layer_impl.h b/cc/layers/video_layer_impl.h
index 6fab7f58dcb5df89413df656bbcd790faaaebd14..127700b8f2c6cf1206dfb3c812806ee13f9acb8a 100644
--- a/cc/layers/video_layer_impl.h
+++ b/cc/layers/video_layer_impl.h
@@ -63,13 +63,15 @@ class CC_EXPORT VideoLayerImpl : public LayerImpl {
scoped_ptr<VideoResourceUpdater> updater_;
VideoFrameExternalResources::ResourceType frame_resource_type_;
struct FrameResource {
- FrameResource(ResourceId id, gfx::Size size_in_pixels, bool allow_overlay)
+ FrameResource(ResourceId id,
+ gfx::Size size_in_pixels,
+ bool is_overlay_candidate)
: id(id),
size_in_pixels(size_in_pixels),
- allow_overlay(allow_overlay) {}
+ is_overlay_candidate(is_overlay_candidate) {}
ResourceId id;
gfx::Size size_in_pixels;
- bool allow_overlay;
+ bool is_overlay_candidate;
};
std::vector<FrameResource> frame_resources_;
« no previous file with comments | « cc/layers/texture_layer_impl.cc ('k') | cc/layers/video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698