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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.cpp

Issue 2657863004: Move scroll paint property nodes to be owned by the transform tree (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/graphics/paint/PropertyTreeState.h" 5 #include "platform/graphics/paint/PropertyTreeState.h"
6 6
7 #include "platform/graphics/paint/GeometryMapper.h" 7 #include "platform/graphics/paint/GeometryMapper.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 case PropertyTreeState::None: 92 case PropertyTreeState::None:
93 return nullptr; 93 return nullptr;
94 } 94 }
95 return nullptr; 95 return nullptr;
96 } 96 }
97 97
98 #if DCHECK_IS_ON() 98 #if DCHECK_IS_ON()
99 99
100 String PropertyTreeState::toTreeString() const { 100 String PropertyTreeState::toTreeString() const {
101 return transform()->toTreeString() + "\n" + clip()->toTreeString() + "\n" + 101 return transform()->toTreeString() + "\n" + clip()->toTreeString() + "\n" +
102 effect()->toTreeString() + "\n" + scroll()->toTreeString(); 102 effect()->toTreeString();
chrishtr 2017/01/26 21:22:58 Still useful to print the scroll independently?
pdr. 2017/01/27 20:09:33 The scroll tree is now printed via the transform->
103 } 103 }
104 104
105 #endif 105 #endif
106 106
107 } // namespace blink 107 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698