Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 1749383002: Eliminate uncalled will___LiveResize and inLiveResize from RenderViewImpl through WebWidget down to… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 6bdb139501906ac31f7a596d3822d692cc97bea6..72ad87125213570f334a66974ef997351b403be9 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1770,12 +1770,6 @@ void WebViewImpl::close()
deref(); // Balances ref() acquired in WebView::create
}
-void WebViewImpl::willStartLiveResize()
-{
- if (mainFrameImpl() && mainFrameImpl()->frameView())
- mainFrameImpl()->frameView()->willStartLiveResize();
-}
-
WebSize WebViewImpl::size()
{
return m_size;
@@ -1907,12 +1901,6 @@ void WebViewImpl::resize(const WebSize& newSize)
sendResizeEventAndRepaint();
}
-void WebViewImpl::willEndLiveResize()
-{
- if (mainFrameImpl() && mainFrameImpl()->frameView())
- mainFrameImpl()->frameView()->willEndLiveResize();
-}
-
void WebViewImpl::didEnterFullScreen()
{
m_fullscreenController->didEnterFullScreen();

Powered by Google App Engine
This is Rietveld 408576698