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

Unified Diff: sky/viewer/document_view.cc

Issue 695803003: Make clicks on <a> request a navigation (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« sky/engine/core/testing/DummyPageHolder.cpp ('K') | « sky/viewer/document_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/document_view.cc
diff --git a/sky/viewer/document_view.cc b/sky/viewer/document_view.cc
index f1d36df373418e1f7a087f1be14eef53ad1090b5..f7c002ab79b3beb22d847cef6ea6a71e7ccad9b8 100644
--- a/sky/viewer/document_view.cc
+++ b/sky/viewer/document_view.cc
@@ -187,8 +187,8 @@ void DocumentView::didCreateScriptContext(blink::WebLocalFrame* frame,
gin::ConvertToV8(isolate, internals));
}
-blink::ServiceProvider* DocumentView::services() {
- return this;
+blink::ServiceProvider& DocumentView::services() {
+ return *this;
}
mojo::NavigatorHost* DocumentView::NavigatorHost() {
« sky/engine/core/testing/DummyPageHolder.cpp ('K') | « sky/viewer/document_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698