summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_win.cc5
-rw-r--r--chrome/chrome_common.gypi1
-rw-r--r--chrome/common/gfx/utils.h12
3 files changed, 4 insertions, 14 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
index 486d382..7bf2fa7 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
@@ -41,7 +41,6 @@
#include "chrome/browser/search_engines/template_url_model.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/browser/views/location_bar/location_bar_view.h"
-#include "chrome/common/gfx/utils.h"
#include "chrome/common/notification_service.h"
#include "googleurl/src/url_util.h"
#include "gfx/canvas.h"
@@ -378,6 +377,10 @@ class PaintPatcher {
base::LazyInstance<PaintPatcher> g_paint_patcher(base::LINKER_INITIALIZED);
+// twips are a unit of type measurement, and RichEdit controls use them
+// to set offsets.
+const int kTwipsPerInch = 1440;
+
} // namespace
AutocompleteEditViewWin::AutocompleteEditViewWin(
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi
index b01dd50..f4a8e6e 100644
--- a/chrome/chrome_common.gypi
+++ b/chrome/chrome_common.gypi
@@ -178,7 +178,6 @@
'common/extensions/url_pattern.h',
'common/extensions/user_script.cc',
'common/extensions/user_script.h',
- 'common/gfx/utils.h',
'common/web_resource/web_resource_unpacker.cc',
'common/web_resource/web_resource_unpacker.h',
'common/appcache/appcache_backend_proxy.cc',
diff --git a/chrome/common/gfx/utils.h b/chrome/common/gfx/utils.h
deleted file mode 100644
index d445bdb4..0000000
--- a/chrome/common/gfx/utils.h
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright (c) 2006-2008 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.
-
-#ifndef CHROME_COMMON_GFX_UTILS_H__
-#define CHROME_COMMON_GFX_UTILS_H__
-
-// twips are a unit of type measurement, and RichEdit controls use them
-// to set offsets.
-const int kTwipsPerInch = 1440;
-
-#endif // CHROME_COMMON_GFX_UTILS_H__