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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 805773004: Create DOMWindowStorage as a DOMWindowLifecycleObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index f5941fd46d6edf0e732a110d78af8db8caf6d9c1..8fdb737dee5e3b2763c7b9637eea3f06d03df94c 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -50,6 +50,7 @@
#include "core/page/Page.h"
#include "core/page/WindowFeatures.h"
#include "core/rendering/HitTestResult.h"
+#include "core/storage/DOMWindowStorage.h"
#include "modules/device_light/DeviceLightController.h"
#include "modules/device_orientation/DeviceMotionController.h"
#include "modules/device_orientation/DeviceOrientationController.h"
@@ -128,6 +129,7 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld()
NavigatorGamepad::from(*document);
if (RuntimeEnabledFeatures::serviceWorkerEnabled())
NavigatorServiceWorker::from(*document);
+ DOMWindowStorage::from(*document);
}
}
}
« Source/core/storage/DOMWindowStorage.cpp ('K') | « Source/core/storage/DOMWindowStorage.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698