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 0f9f83c1a76863edcbfc8ba0c4753a04180bc60e..2f5acf4b3614df6ed73dc8bb2eb2f47fa20021bb 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -657,7 +657,7 @@ ShadowRoot* Internals::youngestShadowRoot(Element* host) |
{ |
ASSERT(host); |
if (ElementShadow* shadow = host->shadow()) |
- return shadow->youngestShadowRoot(); |
+ return &shadow->youngestShadowRoot(); |
return 0; |
} |