Changeset 176530 in webkit
- Timestamp:
- Nov 24, 2014, 4:26:35 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/CoordinatedGraphics/WebView.cpp (modified) (2 diffs)
-
UIProcess/WebPageProxy.cpp (modified) (2 diffs)
-
UIProcess/WebPageProxy.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r176522 r176530 1 2014-11-24 Benjamin Poulain <bpoulain@apple.com> 2 3 [WK2] Remove some bad stuff from WebPageProxy 4 https://bugs.webkit.org/show_bug.cgi?id=138896 5 6 Reviewed by Sam Weinig. 7 8 The state loadStateAtProcessExit does not seem to be used anywhere. 9 10 The state urlAtProcessExit only exists to forward the url from 11 WebPageProxy::resetStateAfterProcessExited() to the coordinated graphics code 12 WebView::processDidExit(). 13 14 * UIProcess/CoordinatedGraphics/WebView.cpp: 15 (WebKit::WebView::processDidExit): 16 * UIProcess/WebPageProxy.cpp: 17 (WebKit::WebPageProxy::WebPageProxy): 18 (WebKit::WebPageProxy::resetStateAfterProcessExited): 19 * UIProcess/WebPageProxy.h: 20 (WebKit::WebPageProxy::urlAtProcessExit): Deleted. 21 (WebKit::WebPageProxy::loadStateAtProcessExit): Deleted. 22 1 23 2014-11-24 Ryuan Choi <ryuan.choi@navercorp.com> 2 24 -
trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebView.cpp
r176462 r176530 35 35 #include "NotImplemented.h" 36 36 #include "ViewState.h" 37 #include "WebBackForwardList.h" 38 #include "WebBackForwardListItem.h" 37 39 #include "WebContextMenuProxy.h" 38 40 #include "WebPageProxy.h" … … 346 348 void WebView::processDidExit() 347 349 { 348 m_client.webProcessCrashed(this, m_page-> urlAtProcessExit());350 m_client.webProcessCrashed(this, m_page->backForwardList()->currentItem()->url()); 349 351 } 350 352 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r176462 r176530 285 285 , m_viewWasEverInWindow(false) 286 286 , m_backForwardList(WebBackForwardList::create(*this)) 287 , m_loadStateAtProcessExit(FrameLoadState::State::Finished)288 287 #if PLATFORM(MAC) && !USE(ASYNC_NSTEXTINPUTCLIENT) 289 288 , m_temporarilyClosedComposition(false) … … 4546 4545 m_isPageSuspended = false; 4547 4546 4548 if (m_mainFrame) {4549 m_urlAtProcessExit = m_mainFrame->url();4550 m_loadStateAtProcessExit = m_mainFrame->frameLoadState().m_state;4551 }4552 4553 4547 m_pageClient.processDidExit(); 4554 4548 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r176462 r176530 757 757 bool isValid() const; 758 758 759 const String& urlAtProcessExit() const { return m_urlAtProcessExit; }760 FrameLoadState::State loadStateAtProcessExit() const { return m_loadStateAtProcessExit; }761 762 759 #if ENABLE(DRAG_SUPPORT) 763 760 WebCore::DragOperation currentDragOperation() const { return m_currentDragOperation; } … … 1421 1418 String m_toolTip; 1422 1419 1423 String m_urlAtProcessExit;1424 FrameLoadState::State m_loadStateAtProcessExit;1425 1426 1420 EditorState m_editorState; 1427 1421 #if PLATFORM(MAC) && !USE(ASYNC_NSTEXTINPUTCLIENT)
Note:
See TracChangeset
for help on using the changeset viewer.