X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fviews%2Fexamples%2Fthrobber_example.cc;h=8582a2bb768628e48e01c0ad218f9ed26eed5b82;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=7bd18a246cbddadac6ed64bd54aa9a7c1bcce960;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/views/examples/throbber_example.cc b/src/ui/views/examples/throbber_example.cc index 7bd18a2..8582a2b 100644 --- a/src/ui/views/examples/throbber_example.cc +++ b/src/ui/views/examples/throbber_example.cc @@ -25,11 +25,11 @@ class ThrobberView : public View { throbber_->Start(); } - virtual gfx::Size GetPreferredSize() const OVERRIDE { + gfx::Size GetPreferredSize() const override { return gfx::Size(width(), height()); } - virtual void Layout() OVERRIDE { + void Layout() override { View* child = child_at(0); gfx::Size ps = child->GetPreferredSize(); child->SetBounds((width() - ps.width()) / 2,