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

Unified Diff: android_webview/native/aw_dev_tools_server.cc

Issue 176543004: aw: Split hardware rendering into HardwareRenderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 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
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | android_webview/native/aw_pdf_exporter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_dev_tools_server.cc
diff --git a/android_webview/native/aw_dev_tools_server.cc b/android_webview/native/aw_dev_tools_server.cc
index e1cdc725fe3ea0ab500c3adc093ee86ecb3efe31..8d4584dd26163e5a48864e9fdc0e95d3769a5c48 100644
--- a/android_webview/native/aw_dev_tools_server.cc
+++ b/android_webview/native/aw_dev_tools_server.cc
@@ -4,7 +4,7 @@
#include "android_webview/native/aw_dev_tools_server.h"
-#include "android_webview/browser/in_process_view_renderer.h"
+#include "android_webview/native/aw_contents.h"
#include "base/bind.h"
#include "base/json/json_writer.h"
#include "base/strings/stringprintf.h"
@@ -137,8 +137,9 @@ std::string AwDevToolsServerDelegate::GetDiscoveryPageHTML() {
}
std::string GetViewDescription(WebContents* web_contents) {
- android_webview::BrowserViewRenderer* bvr
- = android_webview::InProcessViewRenderer::FromWebContents(web_contents);
+ const android_webview::BrowserViewRenderer* bvr =
+ android_webview::AwContents::FromWebContents(web_contents)
+ ->GetBrowserViewRenderer();
if (!bvr) return "";
base::DictionaryValue description;
description.SetBoolean("attached", bvr->IsAttachedToWindow());
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | android_webview/native/aw_pdf_exporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698