drop_image_(drop_image) {
}
- virtual ~MenuImageSource() {
- }
+ ~MenuImageSource() override {}
// Overridden from gfx::CanvasImageSource
- virtual void Draw(gfx::Canvas* canvas) OVERRIDE {
+ void Draw(gfx::Canvas* canvas) override {
int image_size = extension_misc::EXTENSION_ICON_BITTY;
canvas->DrawImageInt(icon_, 0, 0, icon_.width(), icon_.height(), 0, 0,
image_size, image_size, false);
ExtensionInfoBar::ExtensionInfoBar(
scoped_ptr<ExtensionInfoBarDelegate> delegate,
Browser* browser)
- : InfoBarView(delegate.PassAs<infobars::InfoBarDelegate>()),
+ : InfoBarView(delegate.Pass()),
browser_(browser),
infobar_icon_(NULL),
icon_as_menu_(NULL),