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

Unified Diff: chrome/browser/ui/views/chrome_views_delegate.h

Issue 2748363002: Fix UBSan testing builds (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/chrome_views_delegate.h
diff --git a/chrome/browser/ui/views/chrome_views_delegate.h b/chrome/browser/ui/views/chrome_views_delegate.h
index 4b9c34e2911ac45c4410e1b79522d1e4b4a99951..aa67be92c1dbb9768e2de5a5b854062df8d6e51b 100644
--- a/chrome/browser/ui/views/chrome_views_delegate.h
+++ b/chrome/browser/ui/views/chrome_views_delegate.h
@@ -63,7 +63,7 @@ class ChromeViewsDelegate : public views::ViewsDelegate {
gfx::Insets GetInsetsMetric(views::InsetsMetric metric) const override;
int GetDistanceMetric(views::DistanceMetric metric) const override;
- int GetDefaultDistanceMetric(views::DistanceMetric metric) const;
+ static int GetDefaultDistanceMetric(views::DistanceMetric metric);
private:
#if defined(OS_WIN)
@@ -83,6 +83,8 @@ class ChromeViewsDelegate : public views::ViewsDelegate {
gfx::Rect* bounds) const;
#endif
+ int InternalGetDefaultDistanceMetric(views::DistanceMetric metric) const;
+
// Function to retrieve default opacity value mainly based on platform
// and desktop context.
views::Widget::InitParams::WindowOpacity GetOpacityForInitParams(
« no previous file with comments | « no previous file | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698