OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ppapi/utility/graphics/paint_aggregator.h" | 5 #include "ppapi/utility/graphics/paint_aggregator.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "ppapi/cpp/logging.h" | 9 #include "ppapi/cpp/logging.h" |
10 | 10 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 outer = outer.Union(existing_rect); | 270 outer = outer.Union(existing_rect); |
271 } | 271 } |
272 } | 272 } |
273 update_.paint_rects.clear(); | 273 update_.paint_rects.clear(); |
274 update_.paint_rects.push_back(inner); | 274 update_.paint_rects.push_back(inner); |
275 update_.paint_rects.push_back(outer); | 275 update_.paint_rects.push_back(outer); |
276 } | 276 } |
277 } | 277 } |
278 | 278 |
279 } // namespace pp | 279 } // namespace pp |
OLD | NEW |