| Index: sky/engine/core/html/HTMLIFrameElement.cpp
|
| diff --git a/sky/engine/core/html/HTMLIFrameElement.cpp b/sky/engine/core/html/HTMLIFrameElement.cpp
|
| index 0885e331baf4509eb03eb9383c730ac4eba7c830..17408c1a4215d8e2f6696bd72229549d73ba85a0 100644
|
| --- a/sky/engine/core/html/HTMLIFrameElement.cpp
|
| +++ b/sky/engine/core/html/HTMLIFrameElement.cpp
|
| @@ -19,7 +19,8 @@ PassRefPtr<HTMLIFrameElement> HTMLIFrameElement::create(Document& document)
|
| }
|
|
|
| HTMLIFrameElement::HTMLIFrameElement(Document& document)
|
| - : HTMLElement(HTMLNames::iframeTag, document)
|
| + : HTMLElement(HTMLNames::iframeTag, document),
|
| + frame_id_(static_cast<uint32_t>(-1))
|
| {
|
| }
|
|
|
| @@ -59,7 +60,7 @@ void HTMLIFrameElement::createView()
|
| return;
|
|
|
| KURL url = document().completeURL(urlString);
|
| - parentFrame->loaderClient()->createView(url);
|
| + frame_id_ = parentFrame->loaderClient()->createChildFrame(url);
|
| }
|
|
|
| }
|
|
|