Chromium Code Reviews| Index: Source/core/testing/Internals.cpp |
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
| index 6e2018a33bcb6c76b552a2ab1fc4179b88f4c116..b995295dc205c5aec1cc3bd146d9155c7c617b2a 100644 |
| --- a/Source/core/testing/Internals.cpp |
| +++ b/Source/core/testing/Internals.cpp |
| @@ -2358,4 +2358,14 @@ String Internals::textSurroundingNode(Node* node, int x, int y, unsigned long ma |
| return surroundingText.content(); |
| } |
| +HTMLLinkElement* Internals::linkManifest(Document* document, ExceptionState& exceptionState) |
| +{ |
| + if (!document) { |
| + exceptionState.throwDOMException(InvalidAccessError, "No context document is available."); |
| + return 0; |
| + } |
| + |
| + return document->linkManifest(); |
| +} |
|
abarth-chromium
2014/05/09 03:06:00
I'd skip adding this function. We'll probably wan
|
| + |
| } |