Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / shell / renderer / test_runner / mock_color_chooser.cc
index b111ee6..3e851fd 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "content/shell/renderer/test_runner/mock_color_chooser.h"
 
-#include "content/shell/renderer/test_runner/WebTestDelegate.h"
+#include "content/shell/renderer/test_runner/web_test_delegate.h"
 #include "content/shell/renderer/test_runner/web_test_proxy.h"
 
 namespace content {
@@ -17,7 +17,7 @@ class HostMethodTask : public WebMethodTask<MockColorChooser> {
       : WebMethodTask<MockColorChooser>(object),
         callback_(callback) {}
 
-  virtual void runIfValid() OVERRIDE { (m_object->*callback_)(); }
+  virtual void RunIfValid() OVERRIDE { (object_->*callback_)(); }
 
  private:
   CallbackMethodType callback_;
@@ -41,7 +41,8 @@ MockColorChooser::~MockColorChooser() {
 void MockColorChooser::setSelectedColor(const blink::WebColor color) {}
 
 void MockColorChooser::endChooser() {
-  delegate_->postDelayedTask(new HostMethodTask(this, &MockColorChooser::InvokeDidEndChooser), 0);
+  delegate_->PostDelayedTask(
+      new HostMethodTask(this, &MockColorChooser::InvokeDidEndChooser), 0);
 }
 
 void MockColorChooser::InvokeDidEndChooser() {