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

Unified Diff: Source/core/testing/Internals.cpp

Issue 14594006: Remove Internals::createShadowRoot(element) and polyfill.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 51e4016f94299e0ec9f5f65df16bc4fe8f99d005..03af170de32aa2ce12d4b9c6889af4c08611d648 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -632,15 +632,6 @@ ShadowRoot* Internals::ensureShadowRoot(Element* host, ExceptionCode& ec)
return host->createShadowRoot(ec).get();
}
-ShadowRoot* Internals::createShadowRoot(Element* host, ExceptionCode& ec)
-{
- if (!host) {
- ec = INVALID_ACCESS_ERR;
- return 0;
- }
- return host->createShadowRoot(ec).get();
-}
-
ShadowRoot* Internals::shadowRoot(Element* host, ExceptionCode& ec)
{
// FIXME: Internals::shadowRoot() in tests should be converted to youngestShadowRoot() or oldestShadowRoot().
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698