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

Unified Diff: cc/test/FakeCCLayerTreeHostClient.cpp

Issue 10947047: Fix remaining cc files to compile with Clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix FakeCCDelayBasedTimeSource 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
« no previous file with comments | « cc/test/FakeCCLayerTreeHostClient.h ('k') | cc/test/MockCCQuadCuller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/FakeCCLayerTreeHostClient.cpp
diff --git a/cc/test/FakeCCLayerTreeHostClient.cpp b/cc/test/FakeCCLayerTreeHostClient.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..0c081a5952a3634182b8bb6742a9de5496233e21
--- /dev/null
+++ b/cc/test/FakeCCLayerTreeHostClient.cpp
@@ -0,0 +1,22 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+
+#include "FakeCCLayerTreeHostClient.h"
+
+namespace cc {
+
+PassOwnPtr<WebKit::WebCompositorOutputSurface> FakeCCLayerTreeHostClient::createOutputSurface()
+{
+ WebKit::WebGraphicsContext3D::Attributes attrs;
+ return WebKit::FakeWebCompositorOutputSurface::create(WebKit::CompositorFakeWebGraphicsContext3D::create(attrs));
+}
+
+PassOwnPtr<CCInputHandler> FakeCCLayerTreeHostClient::createInputHandler()
+{
+ return nullptr;
+}
+
+}
« no previous file with comments | « cc/test/FakeCCLayerTreeHostClient.h ('k') | cc/test/MockCCQuadCuller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698