Changeset 76872 in webkit
- Timestamp:
- Jan 27, 2011 5:22:16 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r76866 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Remove FrameLoader::url() and update callers to use 6 Document::url(). 7 https://bugs.webkit.org/show_bug.cgi?id=41165 8 9 Refactor, no new tests. 10 11 * WebCore.exp.in: 12 * dom/Document.cpp: 13 (WebCore::Document::processHttpEquiv): 14 (WebCore::Document::removePendingSheet): 15 * history/CachedFrame.cpp: 16 (WebCore::CachedFrameBase::CachedFrameBase): 17 * history/PageCache.cpp: 18 (WebCore::logCanCacheFrameDecision): 19 (WebCore::PageCache::canCachePageContainingThisFrame): 20 * html/HTMLFrameElementBase.cpp: 21 (WebCore::HTMLFrameElementBase::isURLAllowed): 22 * html/HTMLPlugInImageElement.cpp: 23 (WebCore::HTMLPlugInImageElement::allowedToLoadFrameURL): 24 * inspector/InspectorAgent.cpp: 25 (WebCore::InspectorAgent::inspectedURL): 26 * inspector/InspectorResourceAgent.cpp: 27 (WebCore::buildObjectForFrame): 28 * loader/DocumentWriter.cpp: 29 (WebCore::DocumentWriter::replaceDocument): 30 (WebCore::DocumentWriter::deprecatedFrameEncoding): 31 * loader/FrameLoader.cpp: 32 * loader/FrameLoader.h: 33 * loader/HistoryController.cpp: 34 (WebCore::HistoryController::updateForStandardLoad): 35 (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList): 36 (WebCore::HistoryController::updateForSameDocumentNavigation): 37 * loader/NavigationScheduler.cpp: 38 (WebCore::ScheduledHistoryNavigation::fire): 39 (WebCore::NavigationScheduler::scheduleLocationChange): 40 (WebCore::NavigationScheduler::scheduleRefresh): 41 * page/FrameView.cpp: 42 (WebCore::FrameView::updateControlTints): 43 * page/Location.cpp: 44 (WebCore::Location::url): 45 (WebCore::Location::setProtocol): 46 (WebCore::Location::setHost): 47 (WebCore::Location::setHostname): 48 (WebCore::Location::setPort): 49 (WebCore::Location::setPathname): 50 (WebCore::Location::setSearch): 51 (WebCore::Location::setHash): 52 (WebCore::Location::reload): 53 * page/Page.cpp: 54 (WebCore::Page::goToItem): 55 1 56 2011-01-27 Stephen White <senorblanco@chromium.org> 2 57 -
trunk/Source/WebCore/WebCore.exp.in
r76821 r76872 972 972 __ZNK7WebCore11FrameLoader20activeDocumentLoaderEv 973 973 __ZNK7WebCore11FrameLoader27numPendingOrLoadingRequestsEb 974 __ZNK7WebCore11FrameLoader3urlEv975 974 __ZNK7WebCore11FrameLoader8loadTypeEv 976 975 __ZNK7WebCore11HistoryItem10visitCountEv -
trunk/Source/WebCore/dom/Document.cpp
r76702 r76872 2647 2647 if (frame && parseHTTPRefresh(content, true, delay, url)) { 2648 2648 if (url.isEmpty()) 2649 url = frame->loader()->url().string();2649 url = m_url.string(); 2650 2650 else 2651 2651 url = completeURL(url).string(); … … 2928 2928 2929 2929 if (m_gotoAnchorNeededAfterStylesheetsLoad && view()) 2930 view()->scrollToFragment(m_ frame->loader()->url());2930 view()->scrollToFragment(m_url); 2931 2931 } 2932 2932 -
trunk/Source/WebCore/history/CachedFrame.cpp
r75994 r76872 66 66 , m_view(frame->view()) 67 67 , m_mousePressNode(frame->eventHandler()->mousePressNode()) 68 , m_url(frame-> loader()->url())68 , m_url(frame->document()->url()) 69 69 , m_isMainFrame(!frame->tree()->parent()) 70 70 { -
trunk/Source/WebCore/history/PageCache.cpp
r75966 r76872 112 112 cannotCache = true; 113 113 } 114 if (frame-> loader()->url().protocolIs("https")) {114 if (frame->document()->url().protocolIs("https")) { 115 115 PCLOG(" -Frame is HTTPS"); 116 116 cannotCache = true; … … 261 261 // the right NPObjects. See <rdar://problem/5197041> for more information. 262 262 && !frame->loader()->subframeLoader()->containsPlugins() 263 && !frame-> loader()->url().protocolIs("https")263 && !frame->document()->url().protocolIs("https") 264 264 && (!frame->domWindow() || !frame->domWindow()->hasEventListeners(eventNames().unloadEvent)) 265 265 #if ENABLE(DATABASE) -
trunk/Source/WebCore/html/HTMLFrameElementBase.cpp
r71962 r76872 81 81 bool foundSelfReference = false; 82 82 for (Frame* frame = document()->frame(); frame; frame = frame->tree()->parent()) { 83 if (equalIgnoringFragmentIdentifier(frame-> loader()->url(), completeURL)) {83 if (equalIgnoringFragmentIdentifier(frame->document()->url(), completeURL)) { 84 84 if (foundSelfReference) 85 85 return false; -
trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp
r66711 r76872 79 79 bool foundSelfReference = false; 80 80 for (Frame* frame = document()->frame(); frame; frame = frame->tree()->parent()) { 81 if (equalIgnoringFragmentIdentifier(frame-> loader()->url(), completeURL)) {81 if (equalIgnoringFragmentIdentifier(frame->document()->url(), completeURL)) { 82 82 if (foundSelfReference) 83 83 return false; -
trunk/Source/WebCore/inspector/InspectorAgent.cpp
r76792 r76872 1348 1348 KURL InspectorAgent::inspectedURL() const 1349 1349 { 1350 return m_inspectedPage->mainFrame()-> loader()->url();1350 return m_inspectedPage->mainFrame()->document()->url(); 1351 1351 } 1352 1352 -
trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp
r76690 r76872 379 379 frameObject->setString("name", name); 380 380 } 381 frameObject->setString("url", frame-> loader()->url().string());381 frameObject->setString("url", frame->document()->url().string()); 382 382 return frameObject; 383 383 } -
trunk/Source/WebCore/loader/DocumentWriter.cpp
r76702 r76872 68 68 { 69 69 m_frame->loader()->stopAllLoaders(); 70 begin(m_frame-> loader()->url(), true, m_frame->document()->securityOrigin());70 begin(m_frame->document()->url(), true, m_frame->document()->securityOrigin()); 71 71 72 72 if (!source.isNull()) { … … 246 246 String DocumentWriter::deprecatedFrameEncoding() const 247 247 { 248 return m_frame-> loader()->url().isEmpty() ? m_encoding : encoding();248 return m_frame->document()->url().isEmpty() ? m_encoding : encoding(); 249 249 } 250 250 -
trunk/Source/WebCore/loader/FrameLoader.cpp
r76702 r76872 636 636 } 637 637 638 const KURL& FrameLoader::url() const639 {640 ASSERT(m_frame->document());641 return m_frame->document()->url();642 }643 644 638 void FrameLoader::setOutgoingReferrer(const KURL& url) 645 639 { -
trunk/Source/WebCore/loader/FrameLoader.h
r76702 r76872 268 268 void frameDetached(); 269 269 270 const KURL& url() const;271 270 void setOutgoingReferrer(const KURL&); 272 271 -
trunk/Source/WebCore/loader/HistoryController.cpp
r76406 r76872 324 324 addVisitedLink(page, historyURL); 325 325 326 if (!frameLoader->documentLoader()->didCreateGlobalHistoryEntry() && frameLoader->documentLoader()->unreachableURL().isEmpty() && ! frameLoader->url().isEmpty())326 if (!frameLoader->documentLoader()->didCreateGlobalHistoryEntry() && frameLoader->documentLoader()->unreachableURL().isEmpty() && !m_frame->document()->url().isEmpty()) 327 327 frameLoader->client()->updateGlobalHistoryRedirectLinks(); 328 328 } … … 366 366 addVisitedLink(page, historyURL); 367 367 368 if (!m_frame->loader()->documentLoader()->didCreateGlobalHistoryEntry() && m_frame->loader()->documentLoader()->unreachableURL().isEmpty() && !m_frame-> loader()->url().isEmpty())368 if (!m_frame->loader()->documentLoader()->didCreateGlobalHistoryEntry() && m_frame->loader()->documentLoader()->unreachableURL().isEmpty() && !m_frame->document()->url().isEmpty()) 369 369 m_frame->loader()->client()->updateGlobalHistoryRedirectLinks(); 370 370 } … … 460 460 void HistoryController::updateForSameDocumentNavigation() 461 461 { 462 if (m_frame-> loader()->url().isEmpty())462 if (m_frame->document()->url().isEmpty()) 463 463 return; 464 464 … … 471 471 return; 472 472 473 addVisitedLink(page, m_frame-> loader()->url());473 addVisitedLink(page, m_frame->document()->url()); 474 474 } 475 475 -
trunk/Source/WebCore/loader/NavigationScheduler.cpp
r76248 r76872 179 179 UserGestureIndicator gestureIndicator(wasUserGesture() ? DefinitelyProcessingUserGesture : DefinitelyNotProcessingUserGesture); 180 180 181 FrameLoader* loader = frame->loader();182 181 if (!m_historySteps) { 183 182 // Special case for go(0) from a frame -> reload only the frame 184 183 // To follow Firefox and IE's behavior, history reload can only navigate the self frame. 185 loader->urlSelected(loader->url(), "_self", 0, lockHistory(), lockBackForwardList(), SendReferrer);184 frame->loader()->urlSelected(frame->document()->url(), "_self", 0, lockHistory(), lockBackForwardList(), SendReferrer); 186 185 return; 187 186 } … … 323 322 // fragment part, we don't need to schedule the location change. 324 323 KURL parsedURL(ParsedURLString, url); 325 if (parsedURL.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier( loader->url(), parsedURL)) {324 if (parsedURL.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(m_frame->document()->url(), parsedURL)) { 326 325 loader->changeLocation(securityOrigin, loader->completeURL(url), referrer, lockHistory, lockBackForwardList); 327 326 return; … … 360 359 if (!shouldScheduleNavigation()) 361 360 return; 362 const KURL& url = m_frame-> loader()->url();361 const KURL& url = m_frame->document()->url(); 363 362 if (url.isEmpty()) 364 363 return; -
trunk/Source/WebCore/page/FrameView.cpp
r76677 r76872 2094 2094 2095 2095 // Optimize the common case where we bring a window to the front while it's still empty. 2096 if (!m_frame || m_frame-> loader()->url().isEmpty())2096 if (!m_frame || m_frame->document()->url().isEmpty()) 2097 2097 return; 2098 2098 -
trunk/Source/WebCore/page/Location.cpp
r74843 r76872 52 52 ASSERT(m_frame); 53 53 54 const KURL& url = m_frame-> loader()->url();54 const KURL& url = m_frame->document()->url(); 55 55 if (!url.isValid()) 56 56 return blankURL(); // Use "about:blank" while the page is still loading (before we have a frame). … … 168 168 if (!m_frame) 169 169 return; 170 KURL url = m_frame-> loader()->url();170 KURL url = m_frame->document()->url(); 171 171 if (!url.setProtocol(protocol)) { 172 172 ec = SYNTAX_ERR; … … 180 180 if (!m_frame) 181 181 return; 182 KURL url = m_frame-> loader()->url();182 KURL url = m_frame->document()->url(); 183 183 url.setHostAndPort(host); 184 184 m_frame->domWindow()->setLocation(url.string(), activeWindow, firstWindow); … … 189 189 if (!m_frame) 190 190 return; 191 KURL url = m_frame-> loader()->url();191 KURL url = m_frame->document()->url(); 192 192 url.setHost(hostname); 193 193 m_frame->domWindow()->setLocation(url.string(), activeWindow, firstWindow); … … 198 198 if (!m_frame) 199 199 return; 200 KURL url = m_frame-> loader()->url();200 KURL url = m_frame->document()->url(); 201 201 int port = portString.toInt(); 202 202 if (port < 0 || port > 0xFFFF) … … 211 211 if (!m_frame) 212 212 return; 213 KURL url = m_frame-> loader()->url();213 KURL url = m_frame->document()->url(); 214 214 url.setPath(pathname); 215 215 m_frame->domWindow()->setLocation(url.string(), activeWindow, firstWindow); … … 220 220 if (!m_frame) 221 221 return; 222 KURL url = m_frame-> loader()->url();222 KURL url = m_frame->document()->url(); 223 223 url.setQuery(search); 224 224 m_frame->domWindow()->setLocation(url.string(), activeWindow, firstWindow); … … 229 229 if (!m_frame) 230 230 return; 231 KURL url = m_frame-> loader()->url();231 KURL url = m_frame->document()->url(); 232 232 String oldFragmentIdentifier = url.fragmentIdentifier(); 233 233 String newFragmentIdentifier = hash; … … 269 269 return; 270 270 } 271 if (protocolIsJavaScript(m_frame-> loader()->url()))271 if (protocolIsJavaScript(m_frame->document()->url())) 272 272 return; 273 273 m_frame->navigationScheduler()->scheduleRefresh(); -
trunk/Source/WebCore/page/Page.cpp
r76518 r76872 340 340 #if ENABLE(DATABASE) 341 341 // If we're navigating the history via a fragment on the same document, then we do not want to stop databases. 342 const KURL& currentURL = m_mainFrame-> loader()->url();342 const KURL& currentURL = m_mainFrame->document()->url(); 343 343 const KURL& newURL = item->url(); 344 344 -
trunk/Source/WebKit/efl/ChangeLog
r75863 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use Document::url() instead of FrameLoader::url(). 6 https://bugs.webkit.org/show_bug.cgi?id=41165 7 8 * ewk/ewk_frame.cpp: 9 (ewk_frame_uri_changed): 10 1 11 2011-01-14 Patrick Gansterer <paroga@webkit.org> 2 12 -
trunk/Source/WebKit/efl/ewk/ewk_frame.cpp
r75863 r76872 2009 2009 EWK_FRAME_SD_GET_OR_RETURN(o, sd, EINA_FALSE); 2010 2010 EINA_SAFETY_ON_NULL_RETURN_VAL(sd->frame, EINA_FALSE); 2011 WTF::CString uri(sd->frame-> loader()->url().prettyURL().utf8());2011 WTF::CString uri(sd->frame->document()->url().prettyURL().utf8()); 2012 2012 2013 2013 INF("uri=%s", uri.data()); -
trunk/Source/WebKit/gtk/ChangeLog
r76822 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use Document::url() instead of FrameLoader::url(). 6 https://bugs.webkit.org/show_bug.cgi?id=41165 7 8 * webkit/webkitwebview.cpp: 9 (webkit_web_view_get_icon_uri): 10 1 11 2011-01-27 Mario Sanchez Prada <msanchez@igalia.com> 2 12 -
trunk/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
r75481 r76872 835 835 WebKitWebFramePrivate* priv = m_frame->priv; 836 836 g_free(priv->uri); 837 priv->uri = g_strdup(core(m_frame)-> loader()->url().prettyURL().utf8().data());837 priv->uri = g_strdup(core(m_frame)->document()->url().prettyURL().utf8().data()); 838 838 g_object_notify(G_OBJECT(m_frame), "uri"); 839 839 WebKitWebView* webView = getViewFromFrame(m_frame); -
trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp
r76351 r76872 5052 5052 { 5053 5053 g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), 0); 5054 String iconURL = iconDatabase()->iconURLForPageURL(core(webView)->mainFrame()-> loader()->url().prettyURL());5054 String iconURL = iconDatabase()->iconURLForPageURL(core(webView)->mainFrame()->document()->url().prettyURL()); 5055 5055 webView->priv->iconURI = iconURL.utf8(); 5056 5056 return webView->priv->iconURI.data(); -
trunk/Source/WebKit/haiku/ChangeLog
r74571 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use Document::url() instead of FrameLoader::url(). 6 https://bugs.webkit.org/show_bug.cgi?id=41165 7 8 * WebCoreSupport/FrameLoaderClientHaiku.cpp: 9 (WebCore::FrameLoaderClientHaiku::dispatchDidFinishDocumentLoad): 10 1 11 2010-12-22 Sam Weinig <sam@webkit.org> 2 12 -
trunk/Source/WebKit/haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp
r74571 r76872 262 262 if (m_webView) { 263 263 BMessage message(LOAD_DOC_COMPLETED); 264 message.AddString("url", m_frame-> loader()->url().string());264 message.AddString("url", m_frame->document()->url().string()); 265 265 m_messenger->SendMessage(&message); 266 266 } … … 324 324 if (m_webView) { 325 325 BMessage message(LOAD_DL_COMPLETED); 326 message.AddString("url", m_frame-> loader()->url().string());326 message.AddString("url", m_frame->document()->url().string()); 327 327 m_messenger->SendMessage(&message); 328 328 } -
trunk/Source/WebKit/mac/ChangeLog
r76813 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use Document::url() instead of FrameLoader::url(). 6 https://bugs.webkit.org/show_bug.cgi?id=41165 7 8 * WebView/WebView.mm: 9 (-[WebView _dispatchDidReceiveIconFromWebFrame:]): 10 1 11 2011-01-27 Dan Bernstein <mitz@apple.com> 2 12 -
trunk/Source/WebKit/mac/WebView/WebView.mm
r76390 r76872 5835 5835 WebFrameLoadDelegateImplementationCache* cache = &_private->frameLoadDelegateImplementations; 5836 5836 if (cache->didReceiveIconForFrameFunc) { 5837 Image* image = iconDatabase()->iconForPageURL(core(webFrame)-> loader()->url().string(), IntSize(16, 16));5837 Image* image = iconDatabase()->iconForPageURL(core(webFrame)->document()->url().string(), IntSize(16, 16)); 5838 5838 if (NSImage *icon = webGetNSImage(image, NSMakeSize(16, 16))) 5839 5839 CallFrameLoadDelegate(cache->didReceiveIconForFrameFunc, self, @selector(webView:didReceiveIcon:forFrame:), icon, webFrame); -
trunk/Source/WebKit/qt/Api/qwebframe.cpp
r76516 r76872 758 758 QUrl QWebFrame::url() const 759 759 { 760 return d->frame-> loader()->url();760 return d->frame->document()->url(); 761 761 } 762 762 … … 814 814 QIcon QWebFrame::icon() const 815 815 { 816 return QWebSettings::iconForUrl(d->frame-> loader()->url());816 return QWebSettings::iconForUrl(d->frame->document()->url()); 817 817 } 818 818 -
trunk/Source/WebKit/qt/ChangeLog
r76834 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use Document::url() instead of FrameLoader::url(). 6 https://bugs.webkit.org/show_bug.cgi?id=41165 7 8 * Api/qwebframe.cpp: 9 (QWebFrame::url): 10 1 11 2011-01-27 Robert Hogan <robert@webkit.org> 2 12 -
trunk/Source/WebKit/win/ChangeLog
r76871 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use Document::url() instead of FrameLoader::url(). 6 https://bugs.webkit.org/show_bug.cgi?id=41165 7 8 * WebFrame.cpp: 9 (WebFrame::url): 10 1 11 2011-01-27 Sam Weinig <sam@webkit.org> 2 12 -
trunk/Source/WebKit/win/WebFrame.cpp
r75377 r76872 704 704 return KURL(); 705 705 706 return coreFrame-> loader()->url();706 return coreFrame->document()->url(); 707 707 } 708 708 -
trunk/Source/WebKit/wx/ChangeLog
r75857 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use Document::url() instead of FrameLoader::url(). 6 https://bugs.webkit.org/show_bug.cgi?id=41165 7 8 * WebKitSupport/FrameLoaderClientWx.cpp: 9 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad): 10 1 11 2011-01-14 Yuzo Fujishima <yuzo@google.com> 2 12 -
trunk/Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.cpp
r74571 r76872 321 321 wxWebViewLoadEvent wkEvent(m_webView); 322 322 wkEvent.SetState(wxWEBVIEW_LOAD_DOC_COMPLETED); 323 wkEvent.SetURL(m_frame-> loader()->url().string());323 wkEvent.SetURL(m_frame->document()->url().string()); 324 324 m_webView->GetEventHandler()->ProcessEvent(wkEvent); 325 325 } … … 395 395 wxWebViewLoadEvent wkEvent(m_webView); 396 396 wkEvent.SetState(wxWEBVIEW_LOAD_DL_COMPLETED); 397 wkEvent.SetURL(m_frame-> loader()->url().string());397 wkEvent.SetURL(m_frame->document()->url().string()); 398 398 m_webView->GetEventHandler()->ProcessEvent(wkEvent); 399 399 } -
trunk/Source/WebKit2/ChangeLog
r76833 r76872 1 2011-01-27 Nate Chapin <japhet@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use Document::url() instead of FrameLoader::url(). 6 https://bugs.webkit.org/show_bug.cgi?id=41165 7 8 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: 9 (WebKit::WebFrameLoaderClient::dispatchDidChangeLocationWithinPage): 10 (WebKit::WebFrameLoaderClient::dispatchDidPushStateWithinPage): 11 (WebKit::WebFrameLoaderClient::dispatchDidReplaceStateWithinPage): 12 (WebKit::WebFrameLoaderClient::dispatchDidPopStateWithinPage): 13 * WebProcess/WebPage/WebFrame.cpp: 14 (WebKit::WebFrame::url): 15 1 16 2011-01-27 Sam Weinig <sam@webkit.org> 2 17 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
r76701 r76872 313 313 314 314 // Notify the UIProcess. 315 webPage->send(Messages::WebPageProxy::DidSameDocumentNavigationForFrame(m_frame->frameID(), SameDocumentNavigationAnchorNavigation, m_frame->coreFrame()-> loader()->url().string(), InjectedBundleUserMessageEncoder(userData.get())));315 webPage->send(Messages::WebPageProxy::DidSameDocumentNavigationForFrame(m_frame->frameID(), SameDocumentNavigationAnchorNavigation, m_frame->coreFrame()->document()->url().string(), InjectedBundleUserMessageEncoder(userData.get()))); 316 316 } 317 317 … … 328 328 329 329 // Notify the UIProcess. 330 webPage->send(Messages::WebPageProxy::DidSameDocumentNavigationForFrame(m_frame->frameID(), SameDocumentNavigationSessionStatePush, m_frame->coreFrame()-> loader()->url().string(), InjectedBundleUserMessageEncoder(userData.get())));330 webPage->send(Messages::WebPageProxy::DidSameDocumentNavigationForFrame(m_frame->frameID(), SameDocumentNavigationSessionStatePush, m_frame->coreFrame()->document()->url().string(), InjectedBundleUserMessageEncoder(userData.get()))); 331 331 } 332 332 … … 343 343 344 344 // Notify the UIProcess. 345 webPage->send(Messages::WebPageProxy::DidSameDocumentNavigationForFrame(m_frame->frameID(), SameDocumentNavigationSessionStateReplace, m_frame->coreFrame()-> loader()->url().string(), InjectedBundleUserMessageEncoder(userData.get())));345 webPage->send(Messages::WebPageProxy::DidSameDocumentNavigationForFrame(m_frame->frameID(), SameDocumentNavigationSessionStateReplace, m_frame->coreFrame()->document()->url().string(), InjectedBundleUserMessageEncoder(userData.get()))); 346 346 } 347 347 … … 358 358 359 359 // Notify the UIProcess. 360 webPage->send(Messages::WebPageProxy::DidSameDocumentNavigationForFrame(m_frame->frameID(), SameDocumentNavigationSessionStatePop, m_frame->coreFrame()-> loader()->url().string(), InjectedBundleUserMessageEncoder(userData.get())));360 webPage->send(Messages::WebPageProxy::DidSameDocumentNavigationForFrame(m_frame->frameID(), SameDocumentNavigationSessionStatePop, m_frame->coreFrame()->document()->url().string(), InjectedBundleUserMessageEncoder(userData.get()))); 361 361 } 362 362 -
trunk/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp
r76394 r76872 335 335 return String(); 336 336 337 return m_coreFrame-> loader()->url().string();337 return m_coreFrame->document()->url().string(); 338 338 } 339 339
Note: See TracChangeset
for help on using the changeset viewer.