Modernize to C++11: use override.
This commit is contained in:
parent
04f9d35312
commit
3bdeac98bf
2 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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_;
|
||||
|
|
Loading…
Reference in a new issue