Commit 85bbba55 authored by gauravsh@chromium.org's avatar gauravsh@chromium.org

Web Intents Picker: Set minimum size of the inline disposition to 1x1

A value of 0x0 causes an an assertion failure in WebKit's FrameView
which doesn't like a 0 min size.

BUG=chromium-os:33086
TEST=observed manually on a Chrome OS build.


Review URL: https://chromiumcodereview.appspot.com/10824102

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149133 0039d316-1c4b-4281-b951-d872f2087c98
parent 8780606b
...@@ -21,7 +21,7 @@ const int kMaxInlineDispositionHeight = 900; ...@@ -21,7 +21,7 @@ const int kMaxInlineDispositionHeight = 900;
// static // static
gfx::Size WebIntentPicker::GetMinInlineDispositionSize() { gfx::Size WebIntentPicker::GetMinInlineDispositionSize() {
return gfx::Size(0, 0); return gfx::Size(1, 1);
} }
// static // static
......
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