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

Side by Side Diff: third_party/WebKit/Source/core/style/StylePath.cpp

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 "core/style/StylePath.h" 5 #include "core/style/StylePath.h"
6 6
7 #include "core/css/CSSPathValue.h" 7 #include "core/css/CSSPathValue.h"
8 #include "core/svg/SVGPathByteStream.h" 8 #include "core/svg/SVGPathByteStream.h"
9 #include "core/svg/SVGPathUtilities.h" 9 #include "core/svg/SVGPathUtilities.h"
10 #include "platform/graphics/Path.h" 10 #include "platform/graphics/Path.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 if (std::isnan(m_pathLength)) 47 if (std::isnan(m_pathLength))
48 m_pathLength = path().length(); 48 m_pathLength = path().length();
49 return m_pathLength; 49 return m_pathLength;
50 } 50 }
51 51
52 bool StylePath::isClosed() const 52 bool StylePath::isClosed() const
53 { 53 {
54 return path().isClosed(); 54 return path().isClosed();
55 } 55 }
56 56
57 PassRefPtrWillBeRawPtr<CSSValue> StylePath::computedCSSValue() const 57 RawPtr<CSSValue> StylePath::computedCSSValue() const
58 { 58 {
59 return CSSPathValue::create(const_cast<StylePath*>(this)); 59 return CSSPathValue::create(const_cast<StylePath*>(this));
60 } 60 }
61 61
62 bool StylePath::operator==(const StylePath& other) const 62 bool StylePath::operator==(const StylePath& other) const
63 { 63 {
64 return *m_byteStream == *other.m_byteStream; 64 return *m_byteStream == *other.m_byteStream;
65 } 65 }
66 66
67 } // namespace blink 67 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/StylePath.h ('k') | third_party/WebKit/Source/core/style/StylePendingImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698