|
|
Eliminate uncalled will___LiveResize and inLiveResize from RenderViewImpl through WebWidget down to scroll handlers and ImageQualityTester
This dead code was discovered while analyzing willStartLiveResize callers.
From bug:
All blink::WebWidget::willStartLiveResize implementations are as follows:
blink::WebWidget::willStartLiveResize (never called)
blink::WebFrameWidgetImpl::willStartLiveResize (never called)
blink::WebViewFrameWidget::willStartLiveResize (never called)
blink::WebViewImpl::willStartLiveResize
The last of these is only called by blink::WebViewFrameWidget::willStartLiveResize, which is never called.
Naturally, eliminating willStartLiveResize drills into other methods (like willEndLiveResize) and state (that tracks whether currently live resizing).
BUG= 591072
Committed: https://crrev.com/44439a046d6eb17a539cfbce0fbfc9c11b7789c8
Cr-Commit-Position: refs/heads/master@{#379568}
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2 lines, -191 lines) |
Patch |
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/ImageQualityController.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/ImageQualityController.cpp
|
View
|
1
|
4 chunks |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp
|
View
|
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
|
View
|
1
2
3
4
5
6
|
5 chunks |
+1 line, -22 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/scroll/ScrollableArea.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -20 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebFrameWidgetImpl.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
View
|
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewFrameWidget.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewFrameWidget.cpp
|
View
|
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebWidget.h
|
View
|
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
Total messages: 71 (31 generated)
|