Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(836)

Unified Diff: chrome/browser/ui/views/validation_message_bubble_delegate.cc

Issue 24469006: Fixing crash Report - Magic Signature: views::View::ConvertPointToScreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A self check encountered a few things.. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/validation_message_bubble_delegate.cc
diff --git a/chrome/browser/ui/views/validation_message_bubble_delegate.cc b/chrome/browser/ui/views/validation_message_bubble_delegate.cc
index 5b2566feb43a64b494cad138cdffeba349b21029..ac8802b036ea7f084bab7cb99a423e17f09b82b4 100644
--- a/chrome/browser/ui/views/validation_message_bubble_delegate.cc
+++ b/chrome/browser/ui/views/validation_message_bubble_delegate.cc
@@ -26,7 +26,7 @@ ValidationMessageBubbleDelegate::ValidationMessageBubbleDelegate(
: observer_(observer), width_(0), height_(0) {
set_use_focusless(true);
set_arrow(views::BubbleBorder::TOP_LEFT);
- set_anchor_rect(anchor_in_screen);
+ SetAnchorRect(anchor_in_screen);
ResourceBundle& bundle = ResourceBundle::GetSharedInstance();
views::ImageView* icon = new views::ImageView();
@@ -86,7 +86,7 @@ void ValidationMessageBubbleDelegate::Close() {
void ValidationMessageBubbleDelegate::SetPositionRelativeToAnchor(
const gfx::Rect& anchor_in_screen) {
- set_anchor_rect(anchor_in_screen);
+ SetAnchorRect(anchor_in_screen);
SizeToContents();
}

Powered by Google App Engine
This is Rietveld 408576698