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

Unified Diff: Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 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: Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp b/Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp
index a31741031529568d58588474bfe91f6095abc4b1..88531a3808abe061ed1e22626a997962ac19ebdc 100644
--- a/Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp
@@ -56,7 +56,7 @@ void V8HTMLDocument::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
HTMLDocument* htmlDocument = V8HTMLDocument::toImpl(info.Holder());
if (info.Length() > 2) {
- if (RefPtr<LocalFrame> frame = htmlDocument->frame()) {
+ if (RefPtrWillBeRawPtr<LocalFrame> frame = htmlDocument->frame()) {
// Fetch the global object for the frame.
v8::Local<v8::Context> context = toV8Context(frame.get(), DOMWrapperWorld::current(info.GetIsolate()));
// Bail out if we cannot get the context.

Powered by Google App Engine
This is Rietveld 408576698