| Index: webkit/tools/test_shell/layout_test_controller.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/layout_test_controller.cc (revision 9433)
|
| +++ webkit/tools/test_shell/layout_test_controller.cc (working copy)
|
| @@ -189,7 +189,7 @@
|
| }
|
|
|
| void LayoutTestController::dumpAsText(const CppArgumentList& args,
|
| - CppVariant* result) {
|
| + CppVariant* result) {
|
| dump_as_text_ = true;
|
| result->SetNull();
|
| }
|
| @@ -279,7 +279,7 @@
|
|
|
| class WorkItemBackForward : public LayoutTestController::WorkItem {
|
| public:
|
| - WorkItemBackForward(int distance) : distance_(distance) {}
|
| + explicit WorkItemBackForward(int distance) : distance_(distance) {}
|
| void Run(TestShell* shell) {
|
| shell->GoBackOrForward(distance_);
|
| }
|
| @@ -316,7 +316,7 @@
|
|
|
| class WorkItemScript : public LayoutTestController::WorkItem {
|
| public:
|
| - WorkItemScript(const string& script) : script_(script) {}
|
| + explicit WorkItemScript(const string& script) : script_(script) {}
|
| void Run(TestShell* shell) {
|
| wstring url = L"javascript:" + UTF8ToWide(script_);
|
| shell->LoadURL(url.c_str());
|
| @@ -663,6 +663,7 @@
|
|
|
| void LayoutTestController::display(
|
| const CppArgumentList& args, CppVariant* result) {
|
| + shell_->webViewHost()->DisplayForRepaint();
|
| result->SetNull();
|
| }
|
|
|
|
|