Chromium Code Reviews| Index: Source/core/testing/Internals.cpp |
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
| index 05fd3f92a0893982f5b9a9bf378e926d135aca1c..a00980f83baa64bb31ec8f1b8a2742fe0aab0ff4 100644 |
| --- a/Source/core/testing/Internals.cpp |
| +++ b/Source/core/testing/Internals.cpp |
| @@ -296,6 +296,17 @@ unsigned Internals::needsLayoutCount(ExceptionState& exceptionState) const |
| return needsLayoutObjects; |
| } |
| +unsigned Internals::hitTestCountDelta(Document* doc, ExceptionState& exceptionState) const |
|
esprehn
2014/06/26 02:33:50
no "Delta".
Rick Byers
2014/06/26 15:35:18
Done.
|
| +{ |
| + if (!doc) { |
| + exceptionState.throwDOMException(InvalidAccessError, "Must supply document to check"); |
| + return 0; |
| + } |
| + |
| + return doc->renderView()->hitTestCountDelta(); |
| +} |
| + |
| + |
| bool Internals::isPreloaded(const String& url) |
| { |
| Document* document = contextDocument(); |