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

Unified Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp

Issue 2375873003: Make DOMWindowProperty::m_frame private (Closed)
Patch Set: Created 4 years, 3 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/core/loader/appcache/ApplicationCache.cpp
diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp b/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp
index 6cca2812406f0b2694fd6a7745b8c0b1f92a8083..71030e410855685a58b7cae980aa938d66b391cb 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp
@@ -61,9 +61,9 @@ void ApplicationCache::frameDestroyed()
ApplicationCacheHost* ApplicationCache::applicationCacheHost() const
{
- if (!m_frame || !m_frame->loader().documentLoader())
+ if (!frame() || !frame()->loader().documentLoader())
return 0;
- return m_frame->loader().documentLoader()->applicationCacheHost();
+ return frame()->loader().documentLoader()->applicationCacheHost();
}
unsigned short ApplicationCache::status() const
@@ -105,8 +105,8 @@ const AtomicString& ApplicationCache::interfaceName() const
ExecutionContext* ApplicationCache::getExecutionContext() const
{
- if (m_frame)
- return m_frame->document();
+ if (frame())
+ return frame()->document();
return 0;
}
@@ -136,10 +136,10 @@ const AtomicString& ApplicationCache::toEventType(ApplicationCacheHost::EventID
void ApplicationCache::recordAPIUseType() const
{
- if (!m_frame)
+ if (!frame())
return;
- Document* document = m_frame->document();
+ Document* document = frame()->document();
if (!document)
return;
« no previous file with comments | « third_party/WebKit/Source/core/frame/Screen.cpp ('k') | third_party/WebKit/Source/core/timing/Performance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698