Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / core / v8 / custom / V8HTMLDocumentCustom.cpp
index 6cd24b9..88531a3 100644 (file)
@@ -53,10 +53,10 @@ namespace blink {
 
 void V8HTMLDocument::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
 {
-    HTMLDocument* htmlDocument = V8HTMLDocument::toNative(info.Holder());
+    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.