summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/location_bar_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/location_bar_view.h')
-rw-r--r--chrome/browser/views/location_bar_view.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/browser/views/location_bar_view.h b/chrome/browser/views/location_bar_view.h
index 0764bd9..ef8c73b 100644
--- a/chrome/browser/views/location_bar_view.h
+++ b/chrome/browser/views/location_bar_view.h
@@ -283,14 +283,7 @@ class LocationBarView : public LocationBar,
// to necessitate a layout, layout occurs as well.
void DoLayout(bool force_layout);
- // Returns the number of pixels to clip off the top edge of the background
- // graphics. With the Vista frame, the DWM draws a dark border around the
- // content, so we clip the single dark pixel on the popup background image,
- // which otherwise looks redundant.
- int TopOffset() const;
-
- // Returns the height in pixels of the margin at the top of the bar, after
- // TopOffset() pixels have been clipped off.
+ // Returns the height in pixels of the margin at the top of the bar.
int TopMargin() const;
// Returns the width in pixels of the contents of the edit.