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

Unified Diff: third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp

Issue 2630703002: Rename Supplement::host() to Supplement::supplementable() (Closed)
Patch Set: temp Created 3 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: third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp
diff --git a/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp b/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp
index 0e998ff3b0485da515f3045c4a2c3c15a18f6792..06b5b603f944ba8230e372409352970d35fbd29f 100644
--- a/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp
+++ b/third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.cpp
@@ -88,10 +88,10 @@ ScriptPromise NavigatorInstalledApp::getInstalledRelatedApps(
}
InstalledAppController* NavigatorInstalledApp::controller() {
- if (!host()->frame())
+ if (!supplementable()->frame())
return nullptr;
- return InstalledAppController::from(*host()->frame());
+ return InstalledAppController::from(*supplementable()->frame());
}
const char* NavigatorInstalledApp::supplementName() {

Powered by Google App Engine
This is Rietveld 408576698