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) |