X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebKitTools%2FDumpRenderTree%2Fwin%2FLayoutTestControllerWin.cpp;h=d4187c5372694b93d363648d781a65b13623bec3;hp=79e37279c73391ca6089bf470339c2941e3454c8;hb=f6091202aede28d6be50416fd72fc32b786e102b;hpb=d4805cecd7eb7b43086f8bf9cce184536fe85587 diff --git a/WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp b/WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp index 79e37279c733..d4187c537269 100644 --- a/WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp +++ b/WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp @@ -40,7 +40,9 @@ #include #include #include +#include #include +#include #include #include @@ -120,7 +122,15 @@ void LayoutTestController::display() void LayoutTestController::keepWebHistory() { - // FIXME: Implement! + COMPtr history(Create, CLSID_WebHistory); + if (!history) + return; + + COMPtr sharedHistory(Create, CLSID_WebHistory); + if (!sharedHistory) + return; + + history->setOptionalSharedHistory(sharedHistory.get()); } void LayoutTestController::notifyDone()