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

Unified Diff: mojo/services/gles2/gles2_impl.cc

Issue 131153007: Send size to NativeViewportClient::OnCreated instead of GLES2Client::DidCreateContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix various issues Created 6 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 | « mojo/services/gles2/gles2.mojom ('k') | mojo/services/native_viewport/native_viewport_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/gles2/gles2_impl.cc
diff --git a/mojo/services/gles2/gles2_impl.cc b/mojo/services/gles2/gles2_impl.cc
index 6aac1d3965db4e90f760bd4e009e2cebe34d5476..63ed9d7b5ed7fc73c93ae380659099ee3a9a3c0c 100644
--- a/mojo/services/gles2/gles2_impl.cc
+++ b/mojo/services/gles2/gles2_impl.cc
@@ -43,7 +43,7 @@ void GLES2Impl::CreateContext(gfx::AcceleratedWidget widget,
gpu::gles2::GLES2Interface* gl = gl_context_->GetImplementation();
uint64_t encoded_gl = static_cast<uint64_t>(reinterpret_cast<uintptr_t>(gl));
- client_->DidCreateContext(encoded_gl, size.width(), size.height());
+ client_->DidCreateContext(encoded_gl);
}
void GLES2Impl::OnGLContextLost() {
« no previous file with comments | « mojo/services/gles2/gles2.mojom ('k') | mojo/services/native_viewport/native_viewport_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698