Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
index b23deae12c09b1a7efbd8ffb6e4f0f2a13d79aa4..ec8df2f15ca9f5b921f3851d76b4668d3cf1bf2e 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -92,11 +92,11 @@ ASSERT_SIZE(ComputedStyleBase<ComputedStyle>, SameSizeAsComputedStyleBase); |
// ComputedStyle. |
ASSERT_SIZE(ComputedStyle, SameSizeAsComputedStyle); |
-PassRefPtr<ComputedStyle> ComputedStyle::Create() { |
+RefPtr<ComputedStyle> ComputedStyle::Create() { |
return AdoptRef(new ComputedStyle(InitialStyle())); |
} |
-PassRefPtr<ComputedStyle> ComputedStyle::CreateInitialStyle() { |
+RefPtr<ComputedStyle> ComputedStyle::CreateInitialStyle() { |
return AdoptRef(new ComputedStyle()); |
} |
@@ -111,7 +111,7 @@ void ComputedStyle::InvalidateInitialStyle() { |
MutableInitialStyle().SetTapHighlightColor(InitialTapHighlightColor()); |
} |
-PassRefPtr<ComputedStyle> ComputedStyle::CreateAnonymousStyleWithDisplay( |
+RefPtr<ComputedStyle> ComputedStyle::CreateAnonymousStyleWithDisplay( |
const ComputedStyle& parent_style, |
EDisplay display) { |
RefPtr<ComputedStyle> new_style = ComputedStyle::Create(); |
@@ -121,7 +121,7 @@ PassRefPtr<ComputedStyle> ComputedStyle::CreateAnonymousStyleWithDisplay( |
return new_style; |
} |
-PassRefPtr<ComputedStyle> ComputedStyle::Clone(const ComputedStyle& other) { |
+RefPtr<ComputedStyle> ComputedStyle::Clone(const ComputedStyle& other) { |
return AdoptRef(new ComputedStyle(other)); |
} |