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

Unified Diff: Source/core/storage/StorageArea.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/DOMPluginArray.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/storage/StorageArea.cpp
diff --git a/Source/core/storage/StorageArea.cpp b/Source/core/storage/StorageArea.cpp
index a2f2c3df163a516f25d89132ae1ed6969ce3a49b..ea4e5c51c28cba66949302313a17eb1e333b7167 100644
--- a/Source/core/storage/StorageArea.cpp
+++ b/Source/core/storage/StorageArea.cpp
@@ -143,7 +143,7 @@ bool StorageArea::canAccessStorage(LocalFrame* frame)
// FrameDestructionObserver is used to safely keep the cached
// reference to the LocalFrame. Should the LocalFrame die before
// this StorageArea does, that cached reference will be cleared.
- if (m_frame == frame)
+ if (this->frame() == frame)
return m_canAccessStorageCachedResult;
StorageNamespaceController* controller = StorageNamespaceController::from(frame->page());
if (!controller)
« no previous file with comments | « Source/core/plugins/DOMPluginArray.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698