diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-06-23 17:54:23 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-07-01 11:50:03 +0200 |
commit | 131c199d28aab4577c943756a685acf926606f18 (patch) | |
tree | ce7ad8a30ce8f066292bab760490d9dbcffdb2f7 /src/core/chromium_overrides.cpp | |
parent | 3973b5b2a3fb29c0b38044e52f3166684fb3d5fc (diff) |
Remove some Chromium overrides
These are now always defined in Chromium or have been removed.
Change-Id: I8f59805d793ecb91e51dede68b58a696dc3f84cd
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/core/chromium_overrides.cpp')
-rw-r--r-- | src/core/chromium_overrides.cpp | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/src/core/chromium_overrides.cpp b/src/core/chromium_overrides.cpp index ac8906bd1..b9ce722dd 100644 --- a/src/core/chromium_overrides.cpp +++ b/src/core/chromium_overrides.cpp @@ -154,39 +154,6 @@ OSExchangeData::Provider* OSExchangeData::CreateProvider() return 0; } -} - -namespace gfx { - -// Stubs for these unused functions that are stripped in case -// of a release aura build but a debug build needs the symbols. - -RenderText* RenderText::CreateNativeInstance() -{ - QT_NOT_USED; - return 0; -} - -#if defined(OS_LINUX) -PlatformFont* PlatformFont::CreateDefault() -{ - QT_NOT_USED; - return 0; -} - -PlatformFont* PlatformFont::CreateFromNativeFont(NativeFont) -{ - QT_NOT_USED; - return 0; -} - -PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string&, int) -{ - QT_NOT_USED; - return 0; -} -#endif - -} // namespace gfx +} // namespace ui #endif // defined(USE_AURA) && !defined(USE_OZONE) |