Commit 10d2e340 authored by mukai@chromium.org's avatar mukai@chromium.org

Fix a compile error caused in some compiler.

This switch covers all state, however, some compiler may cause
errors for no return statement after switch().

BUG=395633
R=flackr@chromium.org, sadrul@chromium.org
TEST=compile

Review URL: https://codereview.chromium.org/404153002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284456 0039d316-1c4b-4281-b951-d872f2087c98
parent 59ee313f
...@@ -199,9 +199,10 @@ class HomeCardImpl : public HomeCard, ...@@ -199,9 +199,10 @@ class HomeCardImpl : public HomeCard,
case VISIBLE_MINIMIZED: case VISIBLE_MINIMIZED:
return kHomeCardMinimizedHeight; return kHomeCardMinimizedHeight;
case HIDDEN: case HIDDEN:
NOTREACHED(); break;
return -1;
} }
NOTREACHED();
return -1;
} }
virtual int GetHorizontalMargin() const OVERRIDE { virtual int GetHorizontalMargin() const OVERRIDE {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment