Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
| index 455246e40e18ec3bbc57456cb5c97b84a929fba1..7157df93085ca372c2e931f4afc2bff2b86ef65d 100644 |
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
| @@ -910,6 +910,13 @@ void LocalFrame::updateFrameSecurityOrigin() |
| frameScheduler()->setFrameOrigin(&securityOrigin); |
| } |
| +void LocalFrame::compressStrings() |
| +{ |
| + V8PerIsolateData* perIsolateData = V8PerIsolateData::from(script().isolate()); |
| + perIsolateData->compressStrings(); |
| + // TODO: See children frames? |
|
haraken
2015/11/24 11:15:42
No. V8PerIsolateData is per-thread, not per-frame.
hajimehoshi
2015/11/26 10:49:13
I've changed to call CompressibleStringImpl::purge
|
| +} |
| + |
| DEFINE_WEAK_IDENTIFIER_MAP(LocalFrame); |
| FrameNavigationDisabler::FrameNavigationDisabler(LocalFrame& frame) |