diff options
author | pamg@google.com <pamg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-17 18:27:16 +0000 |
---|---|---|
committer | pamg@google.com <pamg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-17 18:27:16 +0000 |
commit | 96077b3a3d2f5ca3c2e3ecd5aaee79e053bd13ab (patch) | |
tree | 5945bf4eed19e5085bb9cf0e158ab15e1b03bf08 /chrome/browser/cocoa/location_bar_view_mac.mm | |
parent | 1714598684df482fdd969a4baec3c2f99de86cdb (diff) | |
download | chromium_src-96077b3a3d2f5ca3c2e3ecd5aaee79e053bd13ab.zip chromium_src-96077b3a3d2f5ca3c2e3ecd5aaee79e053bd13ab.tar.gz chromium_src-96077b3a3d2f5ca3c2e3ecd5aaee79e053bd13ab.tar.bz2 |
First batch of unit tests for mac Page Actions.
Fix leak of page_action_views_ in LocationBarViewMac.
TEST=covered by unit tests and valgrind UI tests
BUG=30448, 12281
Review URL: http://codereview.chromium.org/506046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/location_bar_view_mac.mm')
-rw-r--r-- | chrome/browser/cocoa/location_bar_view_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar_view_mac.mm index 7e13ff3..fbe9f09 100644 --- a/chrome/browser/cocoa/location_bar_view_mac.mm +++ b/chrome/browser/cocoa/location_bar_view_mac.mm @@ -32,7 +32,6 @@ #include "grit/generated_resources.h" #include "grit/theme_resources.h" #include "skia/ext/skia_utils_mac.h" -#include "third_party/skia/include/core/SkBitmap.h" // TODO(shess): This code is mostly copied from the gtk // implementation. Make sure it's all appropriate and flesh it out. @@ -103,6 +102,7 @@ LocationBarViewMac::LocationBarViewMac( LocationBarViewMac::~LocationBarViewMac() { // TODO(shess): Placeholder for omnibox changes. + delete page_action_views_; } std::wstring LocationBarViewMac::GetInputString() const { |