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

Unified Diff: Source/core/plugins/DOMMimeType.cpp

Issue 928033002: Make FrameDestructionObserver::m_frame a private. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « Source/core/plugins/DOMMimeType.h ('k') | Source/core/plugins/DOMMimeTypeArray.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/plugins/DOMMimeType.cpp
diff --git a/Source/core/plugins/DOMMimeType.cpp b/Source/core/plugins/DOMMimeType.cpp
index f1bffe7b56962dd81ec3661bb8b8715818c8d5e4..76da9463384dff0754238f89505c566f9083233c 100644
--- a/Source/core/plugins/DOMMimeType.cpp
+++ b/Source/core/plugins/DOMMimeType.cpp
@@ -70,11 +70,11 @@ PassRefPtrWillBeRawPtr<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: m_frame->host()->client()->allowPlugins().
- if (!m_frame || !m_frame->loader().allowPlugins(NotAboutToInstantiatePlugin))
+ // Something like: frame()->host()->client()->allowPlugins().
+ if (!frame() || !frame()->loader().allowPlugins(NotAboutToInstantiatePlugin))
return nullptr;
- return DOMPlugin::create(m_pluginData.get(), m_frame, m_pluginData->mimePluginIndices()[m_index]);
+ return DOMPlugin::create(m_pluginData.get(), frame(), m_pluginData->mimePluginIndices()[m_index]);
}
} // namespace blink
« no previous file with comments | « Source/core/plugins/DOMMimeType.h ('k') | Source/core/plugins/DOMMimeTypeArray.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698