Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 "cc/layers/layer.h" | 5 #include "cc/layers/layer.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/atomic_sequence_num.h" | 9 #include "base/atomic_sequence_num.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| (...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1342 return draw_opacity; | 1342 return draw_opacity; |
| 1343 } | 1343 } |
| 1344 | 1344 |
| 1345 void Layer::SetFrameTimingRequests( | 1345 void Layer::SetFrameTimingRequests( |
| 1346 const std::vector<FrameTimingRequest>& requests) { | 1346 const std::vector<FrameTimingRequest>& requests) { |
| 1347 frame_timing_requests_ = requests; | 1347 frame_timing_requests_ = requests; |
| 1348 frame_timing_requests_dirty_ = true; | 1348 frame_timing_requests_dirty_ = true; |
| 1349 SetNeedsCommit(); | 1349 SetNeedsCommit(); |
| 1350 } | 1350 } |
| 1351 | 1351 |
| 1352 void Layer::DidBeginTracing() { | |
| 1353 SetNeedsPushProperties(); | |
|
danakj
2015/03/06 18:50:12
Can you leave a comment explaining why we do SNPP(
| |
| 1354 } | |
| 1355 | |
| 1352 } // namespace cc | 1356 } // namespace cc |
| OLD | NEW |