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

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: 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
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..eb31685b193c0de01f54d5c3fef3f8d30d403e8b 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() {

Powered by Google App Engine
This is Rietveld 408576698