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

Unified Diff: ui/gfx/compositor/test_web_graphics_context_3d.cc

Issue 9226036: Refactor WebGraphicsContext3DInProcess and TestWebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows build Created 8 years, 11 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 | « ui/gfx/compositor/test_web_graphics_context_3d.h ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/test_web_graphics_context_3d.cc
diff --git a/ui/gfx/compositor/test_web_graphics_context_3d.cc b/ui/gfx/compositor/test_web_graphics_context_3d.cc
index 2d8286cd431ea77f8c6558bb9b74b741feebbe28..329b58be583bff0e5da9a16ae5194f096946a21f 100644
--- a/ui/gfx/compositor/test_web_graphics_context_3d.cc
+++ b/ui/gfx/compositor/test_web_graphics_context_3d.cc
@@ -12,13 +12,10 @@ namespace ui {
TestWebGraphicsContext3D::TestWebGraphicsContext3D() {}
TestWebGraphicsContext3D::~TestWebGraphicsContext3D() {}
-bool TestWebGraphicsContext3D::initialize(Attributes attributes,
- WebKit::WebView* view,
- bool render_directly_to_web_view) {
+void TestWebGraphicsContext3D::Initialize() {
gl_surface_ = new gfx::GLSurfaceStub;
gl_context_ = new gfx::GLContextStub;
gl_context_->MakeCurrent(gl_surface_.get());
- return true;
}
bool TestWebGraphicsContext3D::makeContextCurrent() {
« no previous file with comments | « ui/gfx/compositor/test_web_graphics_context_3d.h ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698