summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/tests/FakeCCGraphicsContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/tests/FakeCCGraphicsContext.h')
-rw-r--r--Source/WebKit/chromium/tests/FakeCCGraphicsContext.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebKit/chromium/tests/FakeCCGraphicsContext.h b/Source/WebKit/chromium/tests/FakeCCGraphicsContext.h
index beb4ef366..33c4b3046 100644
--- a/Source/WebKit/chromium/tests/FakeCCGraphicsContext.h
+++ b/Source/WebKit/chromium/tests/FakeCCGraphicsContext.h
@@ -27,13 +27,15 @@
#define FakeCCGraphicsContext_h
#include "CompositorFakeWebGraphicsContext3D.h"
+#include "FakeWebCompositorOutputSurface.h"
#include "cc/CCGraphicsContext.h"
+#include <public/WebCompositorOutputSurface.h>
namespace WebKit {
static inline PassOwnPtr<WebCore::CCGraphicsContext> createFakeCCGraphicsContext()
{
- return WebCore::CCGraphicsContext::create3D(CompositorFakeWebGraphicsContext3D::create(WebGraphicsContext3D::Attributes()));
+ return FakeWebCompositorOutputSurface::create(CompositorFakeWebGraphicsContext3D::create(WebGraphicsContext3D::Attributes()));
}
} // namespace WebKit