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

Unified Diff: cc/layers/surface_layer_impl.cc

Issue 2720503008: Add cc::SurfaceInfo::is_valid() (Closed)
Patch Set: Added Log() Created 3 years, 10 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/surface_layer.cc ('k') | cc/surfaces/surface_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer_impl.cc
diff --git a/cc/layers/surface_layer_impl.cc b/cc/layers/surface_layer_impl.cc
index 17f78a3570514080b7c852a82555a857f9f2e11f..1e072569e0690a24ff222aaff1a097767b02fe24 100644
--- a/cc/layers/surface_layer_impl.cc
+++ b/cc/layers/surface_layer_impl.cc
@@ -78,7 +78,7 @@ SurfaceDrawQuad* SurfaceLayerImpl::CreateSurfaceDrawQuad(
RenderPass* render_pass,
SurfaceDrawQuadType surface_draw_quad_type,
const SurfaceInfo& surface_info) {
- if (!surface_info.id().is_valid())
+ if (!surface_info.is_valid())
return nullptr;
gfx::Rect quad_rect(surface_info.size_in_pixels());
« no previous file with comments | « cc/layers/surface_layer.cc ('k') | cc/surfaces/surface_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698