Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / views / controls / label.cc
index 7ba7ffc..4bf1016 100644 (file)
@@ -427,7 +427,7 @@ gfx::Rect Label::GetTextBounds() const {
       NOTREACHED();
       break;
   }
-  origin.Offset(0, std::max(0, (available.height() - text_size.height())) / 2);
+  text_size.set_height(available.height());
   return gfx::Rect(origin, text_size);
 }