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

Issue 11076013: [cc] Store CCLayerImpls as scoped_ptrs (Closed)

Created:
8 years, 2 months ago by enne (OOO)
Modified:
8 years, 2 months ago
Reviewers:
jamesr
CC:
chromium-reviews, cc-bugs_chromium.org, tfarina
Visibility:
Public.

Description

[cc] Store CCLayerImpls as scoped_ptrs BUG=154451 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160631

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+518 lines, -502 lines) Patch
M cc/CCDamageTrackerTest.cpp View 36 chunks +71 lines, -71 lines 0 comments Download
M cc/CCDelegatedRendererLayerImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/CCDelegatedRendererLayerImplTest.cpp View 4 chunks +15 lines, -15 lines 0 comments Download
M cc/CCHeadsUpDisplayLayerImpl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/CCIOSurfaceLayerImpl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/CCLayerImpl.h View 5 chunks +11 lines, -12 lines 0 comments Download
M cc/CCLayerImpl.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M cc/CCLayerImplTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M cc/CCLayerSorterTest.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
M cc/CCLayerTreeHostCommon.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/CCLayerTreeHostCommonTest.cpp View 1 32 chunks +60 lines, -60 lines 0 comments Download
M cc/CCLayerTreeHostImpl.h View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/CCLayerTreeHostImpl.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M cc/CCLayerTreeHostImplTest.cpp View 1 62 chunks +136 lines, -133 lines 0 comments Download
M cc/CCLayerTreeHostTest.cpp View 1 3 chunks +5 lines, -5 lines 0 comments Download
M cc/CCOcclusionTrackerTest.cpp View 1 9 chunks +36 lines, -20 lines 0 comments Download
M cc/CCQuadCullerTest.cpp View 20 chunks +39 lines, -39 lines 0 comments Download
M cc/CCRenderSurfaceTest.cpp View 4 chunks +8 lines, -8 lines 0 comments Download
M cc/CCRendererGLTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M cc/CCScrollbarAnimationControllerLinearFadeTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/CCScrollbarLayerImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/CCScrollbarLayerImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/CCSolidColorLayerImpl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/CCSolidColorLayerImplTest.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/CCTextureLayerImpl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/CCTiledLayerImpl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/CCTiledLayerImplTest.cpp View 8 chunks +9 lines, -9 lines 0 comments Download
M cc/CCVideoLayerImpl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/DelegatedRendererLayerChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/DelegatedRendererLayerChromium.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/HeadsUpDisplayLayerChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/HeadsUpDisplayLayerChromium.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/IOSurfaceLayerChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/IOSurfaceLayerChromium.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/LayerChromium.h View 4 chunks +2 lines, -4 lines 0 comments Download
M cc/LayerChromium.cpp View 1 chunk +1 line, -1 line 0 comments Download
M cc/LayerChromiumTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/ScrollbarLayerChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/ScrollbarLayerChromium.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/ScrollbarLayerChromiumTest.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/SolidColorLayerChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/SolidColorLayerChromium.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/TextureLayerChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/TextureLayerChromium.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/TiledLayerChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/TiledLayerChromium.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/TreeSynchronizer.h View 2 chunks +8 lines, -9 lines 0 comments Download
M cc/TreeSynchronizer.cpp View 3 chunks +23 lines, -22 lines 0 comments Download
M cc/TreeSynchronizerTest.cpp View 15 chunks +22 lines, -22 lines 0 comments Download
M cc/VideoLayerChromium.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/VideoLayerChromium.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
enne (OOO)
8 years, 2 months ago (2012-10-07 21:51:19 UTC) #1
jamesr
lgtm https://codereview.chromium.org/11076013/diff/1/cc/CCLayerTreeHostImplTest.cpp File cc/CCLayerTreeHostImplTest.cpp (right): https://codereview.chromium.org/11076013/diff/1/cc/CCLayerTreeHostImplTest.cpp#newcode681 cc/CCLayerTreeHostImplTest.cpp:681: static scoped_ptr<CCLayerImpl> create(int id) { return make_scoped_ptr(new DidDrawCheckLayer(id)).PassAs<CCLayerImpl>(); ...
8 years, 2 months ago (2012-10-07 22:27:19 UTC) #2
enne (OOO)
https://codereview.chromium.org/11076013/diff/1/cc/CCLayerTreeHostImplTest.cpp File cc/CCLayerTreeHostImplTest.cpp (right): https://codereview.chromium.org/11076013/diff/1/cc/CCLayerTreeHostImplTest.cpp#newcode681 cc/CCLayerTreeHostImplTest.cpp:681: static scoped_ptr<CCLayerImpl> create(int id) { return make_scoped_ptr(new DidDrawCheckLayer(id)).PassAs<CCLayerImpl>(); } ...
8 years, 2 months ago (2012-10-07 22:44:57 UTC) #3
enne (OOO)
https://codereview.chromium.org/11076013/diff/1/cc/TreeSynchronizer.cpp File cc/TreeSynchronizer.cpp (right): https://codereview.chromium.org/11076013/diff/1/cc/TreeSynchronizer.cpp#newcode99 cc/TreeSynchronizer.cpp:99: CCScrollbarLayerImpl* ccScrollbarLayerImpl = iter != newLayers.end() ? static_cast<CCScrollbarLayerImpl*>(iter->second) : ...
8 years, 2 months ago (2012-10-07 23:40:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11076013/6001
8 years, 2 months ago (2012-10-08 04:09:06 UTC) #5
commit-bot: I haz the power
8 years, 2 months ago (2012-10-08 05:58:44 UTC) #6
Change committed as 160631

Powered by Google App Engine
This is Rietveld 408576698