Modernize to C++11: use override.

This commit is contained in:
Haojian Wu 2016-07-10 13:21:42 +02:00
parent 04f9d35312
commit 3bdeac98bf
2 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ class ScriptExecutionCallback : public blink::WebScriptExecutionCallback {
explicit ScriptExecutionCallback(const CompletionCallback& callback)
: callback_(callback) {}
~ScriptExecutionCallback() {}
~ScriptExecutionCallback() override {}
void completed(
const blink::WebVector<v8::Local<v8::Value>>& result) override {

View file

@ -38,10 +38,10 @@ void HoldRefCallback(const scoped_refptr<printing::PrintJobWorkerOwner>& owner,
class PrintingContextDelegate : public PrintingContext::Delegate {
public:
PrintingContextDelegate(int render_process_id, int render_view_id);
virtual ~PrintingContextDelegate();
~PrintingContextDelegate() override;
virtual gfx::NativeView GetParentView() override;
virtual std::string GetAppLocale() override;
gfx::NativeView GetParentView() override;
std::string GetAppLocale() override;
private:
int render_process_id_;