|
|
WTF: Implement explicit RefPtr::operator bool.
This is the modern alternative to the "safe bool" idiom. Some changes at
call sites are required, primarily because returning a boolean does not
cause an explicit conversion.
Committed: https://crrev.com/faf124b93463720518cae3ab3eb1388f1e3b418a
Cr-Commit-Position: refs/heads/master@{#388297}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+62 lines, -30 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/fetch/SubstituteData.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/inspector/NetworkResourcesData.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutCounter.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/style/ComputedStyle.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/PODRedBlackTree.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/fonts/FontDataForRangeSet.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/fonts/SimpleFontData.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/wtf/PassRefPtr.h
|
View
|
1
|
3 chunks |
+21 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/wtf/RefPtr.h
|
View
|
1
|
3 chunks |
+21 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferBuilder.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 13 (4 generated)
|