diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 23:32:47 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 23:32:47 +0000 |
commit | 553981ab338db3c606b13016f3fb236cf7d0924f (patch) | |
tree | 206f7c96ac6fd4ee74083b7b7d339c5eeee96ab2 /ash/wm/frame_painter.cc | |
parent | f16a1c323c36110e8b52caf8e1566c48167dd13a (diff) | |
download | chromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.zip chromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.tar.gz chromium_src-553981ab338db3c606b13016f3fb236cf7d0924f.tar.bz2 |
Revert 140877 - Rename DrawBitmapInt to DrawImageInt
Bug=None
Test=Compiles
Review URL: https://chromiumcodereview.appspot.com/10512021
TBR=pkotwicz@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10546037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/frame_painter.cc')
-rw-r--r-- | ash/wm/frame_painter.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc index 617b22ea..7623164 100644 --- a/ash/wm/frame_painter.cc +++ b/ash/wm/frame_painter.cc @@ -366,13 +366,13 @@ void FramePainter::PaintHeader(views::NonClientFrameView* view, // Draw the theme frame overlay, if available. if (theme_frame_overlay) - canvas->DrawImageInt(*theme_frame_overlay, 0, 0); + canvas->DrawBitmapInt(*theme_frame_overlay, 0, 0); // Separator between the maximize and close buttons. It overlaps the left // edge of the close button. - canvas->DrawImageInt(*button_separator_, - close_button_->x(), - close_button_->y()); + canvas->DrawBitmapInt(*button_separator_, + close_button_->x(), + close_button_->y()); // We don't need the extra lightness in the edges when we're at the top edge // of the screen. @@ -383,22 +383,22 @@ void FramePainter::PaintHeader(views::NonClientFrameView* view, // Draw the top corners and edge. int top_left_height = top_left_corner_->height(); - canvas->DrawImageInt(*top_left_corner_, - 0, 0, top_left_corner_->width(), top_left_height, - 0, 0, top_left_corner_->width(), top_left_height, - false); + canvas->DrawBitmapInt(*top_left_corner_, + 0, 0, top_left_corner_->width(), top_left_height, + 0, 0, top_left_corner_->width(), top_left_height, + false); canvas->TileImageInt(*top_edge_, top_left_corner_->width(), 0, view->width() - top_left_corner_->width() - top_right_corner_->width(), top_edge_->height()); int top_right_height = top_right_corner_->height(); - canvas->DrawImageInt(*top_right_corner_, - 0, 0, - top_right_corner_->width(), top_right_height, - view->width() - top_right_corner_->width(), 0, - top_right_corner_->width(), top_right_height, - false); + canvas->DrawBitmapInt(*top_right_corner_, + 0, 0, + top_right_corner_->width(), top_right_height, + view->width() - top_right_corner_->width(), 0, + top_right_corner_->width(), top_right_height, + false); // Header left edge. int header_left_height = theme_frame->height() - top_left_height; |