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

Unified Diff: cc/test/fake_output_surface.h

Issue 12211110: Implement WebKit::WebUnitTestSupport::createLayerTreeViewForTesting() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add enum, fix NON_EXPORTED_BASE Created 7 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/test/fake_layer_tree_host_client.cc ('k') | cc/test/fake_web_graphics_context_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index a2dd67cdbff7bfa08475dc794668cc8089cda5ac..360e2530724bca061890e9cd685eed18d527d418 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -10,7 +10,7 @@
#include "cc/compositor_frame.h"
#include "cc/output_surface.h"
#include "cc/test/fake_software_output_device.h"
-#include "cc/test/fake_web_graphics_context_3d.h"
+#include "cc/test/test_web_graphics_context_3d.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
namespace cc {
@@ -26,7 +26,7 @@ class FakeOutputSurface : public OutputSurface {
static inline scoped_ptr<FakeOutputSurface> Create3d() {
scoped_ptr<WebKit::WebGraphicsContext3D> context3d =
- FakeWebGraphicsContext3D::Create(
+ TestWebGraphicsContext3D::Create(
WebKit::WebGraphicsContext3D::Attributes())
.PassAs<WebKit::WebGraphicsContext3D>();
return make_scoped_ptr(new FakeOutputSurface(context3d.Pass(), false));
@@ -45,7 +45,7 @@ class FakeOutputSurface : public OutputSurface {
static inline scoped_ptr<FakeOutputSurface> CreateDelegating3d() {
scoped_ptr<WebKit::WebGraphicsContext3D> context3d =
- FakeWebGraphicsContext3D::Create(
+ TestWebGraphicsContext3D::Create(
WebKit::WebGraphicsContext3D::Attributes())
.PassAs<WebKit::WebGraphicsContext3D>();
return make_scoped_ptr(new FakeOutputSurface(context3d.Pass(), true));
@@ -86,7 +86,7 @@ private:
static inline scoped_ptr<cc::OutputSurface> createFakeOutputSurface()
{
return FakeOutputSurface::Create3d(
- FakeWebGraphicsContext3D::Create(
+ TestWebGraphicsContext3D::Create(
WebKit::WebGraphicsContext3D::Attributes())
.PassAs<WebKit::WebGraphicsContext3D>())
.PassAs<cc::OutputSurface>();
« no previous file with comments | « cc/test/fake_layer_tree_host_client.cc ('k') | cc/test/fake_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698