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

Issue 1511003003: Use refs for non-null GraphicsContext, Scrollbar, etc. in scrollbar related code (Closed)

Created:
5 years ago by Xianzhu
Modified:
5 years ago
Reviewers:
chrishtr, pdr.
CC:
darktears, apavlov+blink_chromium.org, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-api_chromium.org, blink-reviews-css, blink-reviews-html_chromium.org, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dglazkov+blink, dshwang, krit, eae+blinkwatch, Eric Willigers, f(malita), fs, gyuyoung2, jchaffraix+rendering, kenneth.christiansen, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@ScrollbarRemove
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use refs for non-null GraphicsContext, Scrollbar, etc. in scrollbar related code R=chrishtr@chromium.org, pdr@chromium.org Committed: https://crrev.com/0eabbb80369d664feb34db3ea4e3f9247f535e95 Cr-Commit-Position: refs/heads/master@{#364234}

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : First round to fix mac breaks #

Patch Set 4 : Round 2 #

Patch Set 5 : #

Patch Set 6 : Final one fixing mac build #

Patch Set 7 : yet another mac fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+821 lines, -855 lines) Patch
M third_party/WebKit/Source/core/css/SelectorChecker.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 6 4 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 13 chunks +29 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/RootFrameViewport.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h View 1 chunk +23 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.cpp View 3 chunks +34 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTextControl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 4 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/page/PrintContextTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 5 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BlockPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/FramePainter.h View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FramePainter.cpp View 7 chunks +25 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 11 chunks +21 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PartPainter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ScrollableAreaPainter.h View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp View 6 chunks +23 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ScrollbarPainter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ScrollbarPainter.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/Widget.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp View 8 chunks +23 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeGeometryNative.cpp View 2 chunks +18 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp View 10 chunks +14 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm View 1 2 3 4 28 chunks +36 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h View 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 4 chunks +17 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp View 9 chunks +36 lines, -42 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.h View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 24 chunks +46 lines, -48 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h View 3 chunks +33 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp View 5 chunks +41 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeAndroid.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp View 4 chunks +32 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacCommon.h View 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacCommon.mm View 1 2 3 4 chunks +19 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h View 1 chunk +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.mm View 1 2 3 9 chunks +66 lines, -66 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.h View 1 chunk +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm View 1 2 3 5 chunks +45 lines, -45 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h View 1 chunk +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp View 1 chunk +11 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeNonMacCommon.h View 1 chunk +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp View 3 chunks +27 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h View 1 chunk +12 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp View 2 chunks +26 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlay.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/LinkHighlightImplTest.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 3 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/mac/WebScrollbarTheme.mm View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebScrollbarThemePainter.h View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (10 generated)
Xianzhu
Except for the noted places, all changed places are just simple changes like 'Type*' to ...
5 years ago (2015-12-09 17:26:49 UTC) #2
Xianzhu
Will upload new patch sets to fix mac and windows build failures based on the ...
5 years ago (2015-12-09 17:29:54 UTC) #3
pdr.
On 2015/12/09 at 17:26:49, wangxianzhu wrote: > Except for the noted places, all changed places ...
5 years ago (2015-12-09 17:29:59 UTC) #4
chrishtr
lgtm
5 years ago (2015-12-09 17:35:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1511003003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1511003003/100001
5 years ago (2015-12-09 19:37:59 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/107926) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-12-09 19:58:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1511003003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1511003003/120001
5 years ago (2015-12-09 20:20:51 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/153431) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-12-09 21:49:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1511003003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1511003003/120001
5 years ago (2015-12-09 22:14:01 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/153619)
5 years ago (2015-12-10 00:38:56 UTC) #19
commit-bot: I haz the power
5 years ago (2015-12-10 00:44:15 UTC) #21
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0eabbb80369d664feb34db3ea4e3f9247f535e95
Cr-Commit-Position: refs/heads/master@{#364234}

Powered by Google App Engine
This is Rietveld 408576698