summaryrefslogtreecommitdiffstats
path: root/components/html_viewer/test_html_viewer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/html_viewer/test_html_viewer_impl.cc')
-rw-r--r--components/html_viewer/test_html_viewer_impl.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/html_viewer/test_html_viewer_impl.cc b/components/html_viewer/test_html_viewer_impl.cc
index b006255..b8f98ee 100644
--- a/components/html_viewer/test_html_viewer_impl.cc
+++ b/components/html_viewer/test_html_viewer_impl.cc
@@ -42,11 +42,12 @@ class TestHTMLViewerImpl::ExecutionCallbackImpl
ExecutionCallbackImpl(TestHTMLViewerImpl* host,
const mojo::Callback<void(mojo::String)>& callback)
: host_(host), callback_(callback) {}
- virtual ~ExecutionCallbackImpl() {}
+ ~ExecutionCallbackImpl() override {}
private:
// blink::WebScriptExecutionCallback:
- virtual void completed(const blink::WebVector<v8::Local<v8::Value>>& result) {
+ void completed(
+ const blink::WebVector<v8::Local<v8::Value>>& result) override {
mojo::String callback_result;
if (!result.isEmpty())
callback_result = V8ValueToJSONString(host_->web_frame_, result);