| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 9b50b74c8c6159a1b4ba4c53760037e85582efb8..bd294a6ddff5651c63e1de639e7f15632a782723 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -79,6 +79,7 @@
|
| #include "core/html/HTMLMediaElement.h"
|
| #include "core/html/HTMLSelectElement.h"
|
| #include "core/html/HTMLTextAreaElement.h"
|
| +#include "core/html/canvas/CanvasRenderingContext2D.h"
|
| #include "core/html/forms/FormController.h"
|
| #include "core/html/shadow/ShadowElementNames.h"
|
| #include "core/html/shadow/TextControlInnerElements.h"
|
| @@ -2379,4 +2380,9 @@ void Internals::setNetworkConnectionInfo(const String& type, ExceptionState& exc
|
| networkStateNotifier().setWebConnectionTypeForTest(webtype);
|
| }
|
|
|
| +unsigned Internals::countHitRegions(CanvasRenderingContext2D* context)
|
| +{
|
| + return context->hitRegionsCount();
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|