summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-03 03:21:03 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-03 03:21:03 +0000
commita395187fd6f65650bed6cbde1690806724efd1dd (patch)
tree6b4948bff85ff46cd7132ab5d9f26eedcb906651 /app
parent468fec96cd171682405d30b266f71f1766396a07 (diff)
downloadchromium_src-a395187fd6f65650bed6cbde1690806724efd1dd.zip
chromium_src-a395187fd6f65650bed6cbde1690806724efd1dd.tar.gz
chromium_src-a395187fd6f65650bed6cbde1690806724efd1dd.tar.bz2
Fix build by modifying a file I forgot
BUG=none TEST=none Review URL: http://codereview.chromium.org/251086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r--app/win_util.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/win_util.cc b/app/win_util.cc
index d0b7278..0e985ce 100644
--- a/app/win_util.cc
+++ b/app/win_util.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,13 +12,13 @@
#include <algorithm>
+#include "app/gfx/codec/png_codec.h"
#include "app/l10n_util.h"
#include "app/l10n_util_win.h"
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/gfx/gdi_util.h"
-#include "base/gfx/png_encoder.h"
#include "base/logging.h"
#include "base/native_library.h"
#include "base/registry.h"
@@ -745,9 +745,9 @@ void GrabWindowSnapshot(HWND window_handle,
// We now have a copy of the window contents in a DIB, so
// encode it into a useful format for posting to the bug report
// server.
- PNGEncoder::Encode(bit_ptr, PNGEncoder::FORMAT_BGRA,
- width, height, width * 4, true,
- png_representation);
+ gfx::PNGCodec::Encode(bit_ptr, gfx::PNGCodec::FORMAT_BGRA,
+ width, height, width * 4, true,
+ png_representation);
ReleaseDC(window_handle, window_hdc);
}