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

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

Issue 2508793002: Make exceptionState parameter of Document::createElement() to have default value (Closed)
Patch Set: 2016-11-16T15:26:06 Created 4 years, 1 month 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/CompositorAnimationsTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
index c893cd4adb85b0df5c8508b067ae2c74c5f5ed85..2912efe39f4d293d3e2ff693f9062cd989a031e1 100644
--- a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
@@ -106,7 +106,7 @@ class AnimationCompositorAnimationsTest : public ::testing::Test {
m_timeline = AnimationTimeline::create(m_document.get());
m_timeline->resetForTesting();
- m_element = m_document->createElement("test", ASSERT_NO_EXCEPTION);
+ m_element = m_document->createElement("test");
}
public:
@@ -1191,8 +1191,7 @@ TEST_F(AnimationCompositorAnimationsTest,
TEST_F(AnimationCompositorAnimationsTest,
cancelIncompatibleCompositorAnimations) {
- Persistent<Element> element =
- m_document->createElement("shared", ASSERT_NO_EXCEPTION);
+ Persistent<Element> element = m_document->createElement("shared");
LayoutObjectProxy* layoutObject = LayoutObjectProxy::create(element.get());
element->setLayoutObject(layoutObject);

Powered by Google App Engine
This is Rietveld 408576698