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

Issue 11099040: [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

Patch Set 1 #

Total comments: 1

Patch Set 2 : Header sort #

Patch Set 3 : Fix cc unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+524 lines, -504 lines) Patch
M cc/CCDamageTrackerTest.cpp View 1 2 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 1 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 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/CCLayerTreeHostCommonTest.cpp View 1 2 32 chunks +60 lines, -60 lines 0 comments Download
M cc/CCLayerTreeHostImpl.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cc/CCLayerTreeHostImpl.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
cc/CCLayerTreeHostImplTest.cpp View 1 2 64 chunks +138 lines, -135 lines 0 comments Download
M cc/CCLayerTreeHostTest.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
cc/CCOcclusionTrackerTest.cpp View 1 2 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 1 2 4 chunks +2 lines, -4 lines 0 comments Download
cc/LayerChromium.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/LayerChromiumTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M cc/ScrollbarLayerChromium.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/ScrollbarLayerChromium.cpp View 1 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 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
M webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webkit/compositor_bindings/WebIOSurfaceLayerImpl.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
webkit/compositor_bindings/WebSolidColorLayerImpl.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
webkit/compositor_bindings/WebVideoLayerImpl.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
enne (OOO)
No changes from previous patch. Just another overconservative revert. :(
8 years, 2 months ago (2012-10-10 16:40:04 UTC) #1
tfarina
http://codereview.chromium.org/11099040/diff/1/cc/CCLayerImpl.h File cc/CCLayerImpl.h (right): http://codereview.chromium.org/11099040/diff/1/cc/CCLayerImpl.h#newcode19 cc/CCLayerImpl.h:19: #include "cc/scoped_ptr_vector.h" nit: sort order
8 years, 2 months ago (2012-10-10 19:15:30 UTC) #2
jamesr
lgtm
8 years, 2 months ago (2012-10-12 00:39:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11099040/6001
8 years, 2 months ago (2012-10-12 00:42:15 UTC) #4
commit-bot: I haz the power
Change committed as 161482
8 years, 2 months ago (2012-10-12 02:44:07 UTC) #5
falken
8 years, 2 months ago (2012-10-12 03:34:08 UTC) #6
I'm really sorry to revert this in spite of the "another overconservative
revert" comment. But several bots are now failing cc_unittests:

http://build.chromium.org/p/chromium.mac/builders/Mac10.6%20Tests%20%281%29/b...
http://build.chromium.org/p/chromium.mac/builders/Mac10.7%20Tests%20%281%29/b...
http://build.chromium.org/p/chromium.mac/builders/Mac%2010.6%20Tests%20%28dbg...
http://build.chromium.org/p/chromium.mac/builders/Mac%2010.7%20Tests%20%28dbg...

CCLayerTreeHostImplTests/CCLayerTreeHostImplTest.partialSwapReceivesDamageRect/0:

Assertion failed: (ptr_ != NULL), function operator->, file
../../base/memory/scoped_ptr.h, line 201.
[914:-1408298304:1011/200344:150492099812:ERROR:process_util_posix.cc(144)]
Received signal 6
0   libbase.dylib                       0x025c164f
base::debug::StackTrace::StackTrace() + 63
1   libbase.dylib                       0x025c15eb
base::debug::StackTrace::StackTrace() + 43
2   libbase.dylib                       0x0269cad7 base::(anonymous
namespace)::StackDumpSignalHandler(int, __siginfo*, __darwin_ucontext*) + 295
3   libsystem_c.dylib                   0x90fcd59b _sigtramp + 43
4   ???                                 0xffffffff 0x0 + 4294967295
5   libsystem_c.dylib                   0x90f68bdd abort + 167
6   libsystem_c.dylib                   0x90f9d20b __assert_rtn + 351
7   cc_unittests                        0x00160bdc
scoped_ptr<cc::CCLayerImpl>::operator->() const + 124
8   cc_unittests                        0x002a5331 (anonymous
namespace)::CCLayerTreeHostImplTest_partialSwapReceivesDamageRect_Test::TestBody()
+ 3601
9   cc_unittests                        0x0085c561 void
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test,
void>(testing::Test*, void (testing::Test::*)(), char const*) + 145
10  cc_unittests                        0x00852fae void
testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,
void>(testing::Test*, void (testing::Test::*)(), char const*) + 126
11  cc_unittests                        0x0084850e testing::Test::Run() + 254
12  cc_unittests                        0x00848967 testing::TestInfo::Run() +
263
13  cc_unittests                        0x00848ee9 testing::TestCase::Run() +
265
14  cc_unittests                        0x0084e235
testing::internal::UnitTestImpl::RunAllTests() + 821
15  cc_unittests                        0x0085a881 bool
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool>(testing::internal::UnitTestImpl*, bool
(testing::internal::UnitTestImpl::*)(), char const*) + 145
16  cc_unittests                        0x00854f4e bool
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool>(testing::internal::UnitTestImpl*, bool
(testing::internal::UnitTestImpl::*)(), char const*) + 126
17  cc_unittests                        0x0084dec4 testing::UnitTest::Run() +
148
18  cc_unittests                        0x007bb0b0 base::TestSuite::Run() + 256
19  cc_unittests                        0x0010b0f1 main + 161
20  cc_unittests                        0x0010b045 start + 53

Powered by Google App Engine
This is Rietveld 408576698