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

Unified Diff: third_party/WebKit/Source/core/animation/PropertyHandleTest.cpp

Issue 1410993004: Make PropertyHandle::svgAttribute() return a reference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_unCSSInterpolationType
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/PropertyHandleTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/PropertyHandleTest.cpp b/third_party/WebKit/Source/core/animation/PropertyHandleTest.cpp
index ffe6d32bc2689afaa257284b88fb835b1698c524..4ce9ff4f6a4fe0ab2ae3bc83579bc8655e343bb6 100644
--- a/third_party/WebKit/Source/core/animation/PropertyHandleTest.cpp
+++ b/third_party/WebKit/Source/core/animation/PropertyHandleTest.cpp
@@ -53,7 +53,7 @@ TEST_F(PropertyHandleTest, Accessors)
EXPECT_FALSE(PropertyHandle(CSSPropertyOpacity).isSVGAttribute());
EXPECT_TRUE(PropertyHandle(amplitudeAttr).isSVGAttribute());
- EXPECT_EQ(PropertyHandle(amplitudeAttr).svgAttribute(), &amplitudeAttr);
+ EXPECT_EQ(PropertyHandle(amplitudeAttr).svgAttribute(), amplitudeAttr);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/animation/PropertyHandle.h ('k') | third_party/WebKit/Source/core/animation/StringKeyframe.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698