OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/gfx_resource_provider.h" | 5 #include "chrome/common/gfx_resource_provider.h" |
6 | 6 |
7 #include "app/resource_bundle.h" | |
8 #include "base/string_piece.h" | 7 #include "base/string_piece.h" |
| 8 #include "ui/base/resource/resource_bundle.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
11 | 11 |
12 base::StringPiece GfxResourceProvider(int key) { | 12 base::StringPiece GfxResourceProvider(int key) { |
13 return ResourceBundle::GetSharedInstance().GetRawDataResource(key); | 13 return ResourceBundle::GetSharedInstance().GetRawDataResource(key); |
14 } | 14 } |
15 | 15 |
16 } // namespace chrome | 16 } // namespace chrome |
OLD | NEW |