X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Frenderer%2Fsavable_resources.cc;h=9f456b964cb9c7553aa14ba8a4fa5474929e3f62;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=59e534f044ef4374d96a82d562da577bb82ae35d;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/renderer/savable_resources.cc b/src/content/renderer/savable_resources.cc index 59e534f..9f456b9 100644 --- a/src/content/renderer/savable_resources.cc +++ b/src/content/renderer/savable_resources.cc @@ -14,8 +14,8 @@ #include "third_party/WebKit/public/web/WebDocument.h" #include "third_party/WebKit/public/web/WebElement.h" #include "third_party/WebKit/public/web/WebElementCollection.h" -#include "third_party/WebKit/public/web/WebFrame.h" #include "third_party/WebKit/public/web/WebInputElement.h" +#include "third_party/WebKit/public/web/WebLocalFrame.h" #include "third_party/WebKit/public/web/WebNode.h" #include "third_party/WebKit/public/web/WebNodeList.h" #include "third_party/WebKit/public/web/WebView.h" @@ -25,6 +25,7 @@ using blink::WebElement; using blink::WebElementCollection; using blink::WebFrame; using blink::WebInputElement; +using blink::WebLocalFrame; using blink::WebNode; using blink::WebNodeList; using blink::WebString; @@ -71,7 +72,7 @@ void GetSavableResourceLinkForElement( // Handle frame and iframe tag. if (element.hasTagName("iframe") || element.hasTagName("frame")) { - WebFrame* sub_frame = WebFrame::fromFrameOwnerElement(element); + WebFrame* sub_frame = WebLocalFrame::fromFrameOwnerElement(element); if (sub_frame) unique_check->frames->push_back(sub_frame); return;