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

Unified Diff: cc/CCIOSurfaceLayerImpl.cpp

Issue 10942040: Fix CC*Renderer and CC*LayerImpl to compile with Clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: cc/CCIOSurfaceLayerImpl.cpp
diff --git a/cc/CCIOSurfaceLayerImpl.cpp b/cc/CCIOSurfaceLayerImpl.cpp
index cae6809bba06a0b869f5697b58d7938a6f216011..259fc93110340c99ba7044dd47944b166275b426 100644
--- a/cc/CCIOSurfaceLayerImpl.cpp
+++ b/cc/CCIOSurfaceLayerImpl.cpp
@@ -107,6 +107,12 @@ void CCIOSurfaceLayerImpl::setIOSurfaceProperties(unsigned ioSurfaceId, const In
m_ioSurfaceId = ioSurfaceId;
m_ioSurfaceSize = size;
}
+
+const char* CCIOSurfaceLayerImpl::layerTypeAsString() const
+{
+ return "IOSurfaceLayer";
+}
+
}
#endif // USE(ACCELERATED_COMPOSITING)
« no previous file with comments | « cc/CCIOSurfaceLayerImpl.h ('k') | cc/CCLayerImpl.h » ('j') | cc/CCTiledLayerImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698