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

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

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 | « services/ui/ws/frame_generator.cc ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
index b6c16fc124d9ec15f7a44ac692d510a272ab9c43..58267947179cd1e34f834c772161d74313ca677a 100644
--- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
@@ -92,7 +92,7 @@ void CanvasSurfaceLayerBridge::createSolidColorLayer() {
void CanvasSurfaceLayerBridge::OnSurfaceCreated(
const cc::SurfaceInfo& surfaceInfo) {
- if (!m_currentSurfaceId.is_valid() && surfaceInfo.id().is_valid()) {
+ if (!m_currentSurfaceId.is_valid() && surfaceInfo.is_valid()) {
// First time a SurfaceId is received
m_currentSurfaceId = surfaceInfo.id();
GraphicsLayer::unregisterContentsLayer(m_webLayer.get());
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698