| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "config.h" | |
| 6 | |
| 7 #include "modules/canvas2d/ClipList.h" | 5 #include "modules/canvas2d/ClipList.h" |
| 8 | 6 |
| 9 #include "platform/transforms/AffineTransform.h" | 7 #include "platform/transforms/AffineTransform.h" |
| 10 #include "third_party/skia/include/core/SkCanvas.h" | 8 #include "third_party/skia/include/core/SkCanvas.h" |
| 11 | 9 |
| 12 namespace blink { | 10 namespace blink { |
| 13 | 11 |
| 14 ClipList::ClipList(const ClipList& other) : m_clipList(other.m_clipList) { } | 12 ClipList::ClipList(const ClipList& other) : m_clipList(other.m_clipList) { } |
| 15 | 13 |
| 16 void ClipList::clipPath(const SkPath& path, AntiAliasingMode antiAliasingMode, c
onst SkMatrix& ctm) | 14 void ClipList::clipPath(const SkPath& path, AntiAliasingMode antiAliasingMode, c
onst SkMatrix& ctm) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 32 ClipList::ClipOp::ClipOp() | 30 ClipList::ClipOp::ClipOp() |
| 33 : m_antiAliasingMode(AntiAliased) | 31 : m_antiAliasingMode(AntiAliased) |
| 34 { } | 32 { } |
| 35 | 33 |
| 36 ClipList::ClipOp::ClipOp(const ClipOp& other) | 34 ClipList::ClipOp::ClipOp(const ClipOp& other) |
| 37 : m_path(other.m_path) | 35 : m_path(other.m_path) |
| 38 , m_antiAliasingMode(other.m_antiAliasingMode) | 36 , m_antiAliasingMode(other.m_antiAliasingMode) |
| 39 { } | 37 { } |
| 40 | 38 |
| 41 } // namespace blink | 39 } // namespace blink |
| OLD | NEW |