summaryrefslogtreecommitdiff
path: root/Tools/DumpRenderTree/efl/DumpRenderTree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/DumpRenderTree/efl/DumpRenderTree.cpp')
-rw-r--r--Tools/DumpRenderTree/efl/DumpRenderTree.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/DumpRenderTree/efl/DumpRenderTree.cpp b/Tools/DumpRenderTree/efl/DumpRenderTree.cpp
index d8931f052..668aa46a0 100644
--- a/Tools/DumpRenderTree/efl/DumpRenderTree.cpp
+++ b/Tools/DumpRenderTree/efl/DumpRenderTree.cpp
@@ -35,6 +35,7 @@
#include "NotImplemented.h"
#include "PixelDumpSupport.h"
#include "WebCoreSupport/DumpRenderTreeSupportEfl.h"
+#include "WebCoreTestSupport.h"
#include "WorkQueue.h"
#include "ewk_private.h"
#include <EWebKit.h>
@@ -252,6 +253,9 @@ static void runTest(const char* cTestPathOrURL)
browser->clearExtraViews();
+ // FIXME: Move to DRTChrome::resetDefaultsToConsistentValues() after bug 85209 lands.
+ WebCoreTestSupport::resetInternalsObject(DumpRenderTreeSupportEfl::globalContextRefForFrame(browser->mainFrame()));
+
ewk_view_uri_set(browser->mainView(), "about:blank");
gLayoutTestController.clear();