|
Refactoring: Add toWebFrameImpl() interface.
We should avoid static_cast at various places by using proper conversion function. This would avoid the error that can be introduced with each manual addition of static_cast addition. Unlike other toClassName functions (like in rendering), we do not require an assertion to confirm the type of passed WebFrame object, since WebFrameImpl is the only child class of WebFrame.
BUG=NONE
TEST=none; no behavior changes.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156825
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+64 lines, -53 lines) |
Patch |
|
M |
Source/web/ChromeClientImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebDOMMessageEvent.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebFrameImpl.h
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/web/WebFrameImpl.cpp
|
View
|
1
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/web/WebPageSerializer.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebPageSerializerImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebRange.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebSharedWorkerImpl.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/web/WebViewImpl.cpp
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/web/mac/WebSubstringUtil.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/tests/CustomEventTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/web/tests/FrameLoaderClientImplTest.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/web/tests/PopupMenuTest.cpp
|
View
|
1
2
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/web/tests/RenderTableCellTest.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/web/tests/RenderTableRowTest.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/web/tests/WebFrameTest.cpp
|
View
|
|
13 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
|
M |
Source/web/tests/WebViewTest.cpp
|
View
|
|
8 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|