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

Unified Diff: third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp

Issue 2769263004: Remove Frame::host() method (Closed)
Patch Set: Created 3 years, 9 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/plugins/DOMMimeType.cpp
diff --git a/third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp b/third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp
index 9bea9cc716c830b52591390ae5ea3bfe6502ac3e..4e0cfeb36b346d55432be0f4945f6ddcf21e545f 100644
--- a/third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp
+++ b/third_party/WebKit/Source/modules/plugins/DOMMimeType.cpp
@@ -63,7 +63,7 @@ const String& DOMMimeType::description() const {
DOMPlugin* DOMMimeType::enabledPlugin() const {
// FIXME: allowPlugins is just a client call. We should not need
// to bounce through the loader to get there.
- // Something like: frame()->host()->client()->allowPlugins().
+ // Something like: frame()->page()->client()->allowPlugins().
if (!frame() || !frame()->loader().allowPlugins(NotAboutToInstantiatePlugin))
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698