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

Unified Diff: components/html_viewer/web_graphics_context_3d_command_buffer_impl.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 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
Index: components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
diff --git a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h b/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
index adcd03dbfa8fc39e5a6757374a4ac4977031b52a..d6a122adf99d6002a5996574ee30f1de724358f6 100644
--- a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
+++ b/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
@@ -15,7 +15,7 @@
#include "url/gurl.h"
namespace mojo {
-class ApplicationImpl;
+class Shell;
}
namespace gpu {
@@ -32,7 +32,7 @@ class WebGraphicsContext3DCommandBufferImpl
public:
static WebGraphicsContext3DCommandBufferImpl* CreateOffscreenContext(
GlobalState* global_state,
- mojo::ApplicationImpl* app,
+ mojo::Shell* shell,
const GURL& active_url,
const blink::WebGraphicsContext3D::Attributes& attributes,
blink::WebGraphicsContext3D* share_context,

Powered by Google App Engine
This is Rietveld 408576698