summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-14 00:02:59 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-14 00:02:59 +0000
commit17e41b7ee6df166993396f953aa556eccfd1bc36 (patch)
tree2f56e69b8385a263f0ea6be9bcbd5561af1a99a1 /chrome
parent999ebd77596b7e9ee3c13fef014d3b2d6637d559 (diff)
downloadchromium_src-17e41b7ee6df166993396f953aa556eccfd1bc36.zip
chromium_src-17e41b7ee6df166993396f953aa556eccfd1bc36.tar.gz
chromium_src-17e41b7ee6df166993396f953aa556eccfd1bc36.tar.bz2
After playing around with a modified image from Glen, I concluded that a comment I wrote saying something should be changed was wrong. So fix the comment.
Review URL: http://codereview.chromium.org/18028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7989 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/frame/opaque_non_client_view.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/views/frame/opaque_non_client_view.cc b/chrome/browser/views/frame/opaque_non_client_view.cc
index 251f2a4..5324b4b 100644
--- a/chrome/browser/views/frame/opaque_non_client_view.cc
+++ b/chrome/browser/views/frame/opaque_non_client_view.cc
@@ -875,11 +875,9 @@ void OpaqueNonClientView::PaintClientEdge(ChromeCanvas* canvas) {
// When we don't have a toolbar to draw a top edge for us, draw a top edge.
gfx::Rect client_area_bounds = browser_view_->GetClientAreaBounds();
if (!browser_view_->IsToolbarVisible()) {
- // This hack is necessary because the top center bitmap is shorter than the
- // top left and right bitmaps. We need their top edges to line up, and we
+ // This is necessary because the top center bitmap is shorter than the top
+ // left and right bitmaps. We need their top edges to line up, and we
// need the left and right edges to start below the corners' bottoms.
- // TODO(pkasting): If we just make the bitmaps the same height, a la the
- // bottom corners/center, we can remove this hack.
int top_edge_y = client_area_top - app_top_center_.height();
client_area_top = top_edge_y + app_top_left_.height();
canvas->DrawBitmapInt(app_top_left_,