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)
|
explicit ScriptExecutionCallback(const CompletionCallback& callback)
|
||||||
: callback_(callback) {}
|
: callback_(callback) {}
|
||||||
~ScriptExecutionCallback() {}
|
~ScriptExecutionCallback() override {}
|
||||||
|
|
||||||
void completed(
|
void completed(
|
||||||
const blink::WebVector<v8::Local<v8::Value>>& result) override {
|
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 {
|
class PrintingContextDelegate : public PrintingContext::Delegate {
|
||||||
public:
|
public:
|
||||||
PrintingContextDelegate(int render_process_id, int render_view_id);
|
PrintingContextDelegate(int render_process_id, int render_view_id);
|
||||||
virtual ~PrintingContextDelegate();
|
~PrintingContextDelegate() override;
|
||||||
|
|
||||||
virtual gfx::NativeView GetParentView() override;
|
gfx::NativeView GetParentView() override;
|
||||||
virtual std::string GetAppLocale() override;
|
std::string GetAppLocale() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int render_process_id_;
|
int render_process_id_;
|
||||||
|
|
Loading…
Reference in a new issue