Index: third_party/WebKit/Source/core/testing/Internals.cpp |
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
index c1649019cf2650b5694fe53b79a3a1cb984c5a5b..747d05668532d8bd06a40bdd65b09bf1af29e384 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -692,7 +692,7 @@ ShadowRoot* Internals::oldestShadowRoot(Element* host) |
{ |
ASSERT(host); |
if (ElementShadow* shadow = host->shadow()) |
- return shadow->oldestShadowRoot(); |
+ return &shadow->oldestShadowRoot(); |
return 0; |
} |