Bug 821392: Mark pluginSupportsAsyncDXGIDrawing as 'inline' instead of 'static' to fix build warning for .cpp files that #include it without using that method. r=Bas

This commit is contained in:
Daniel Holbert 2012-12-13 15:53:03 -08:00
parent a491ceb9c0
commit 9b64b06490
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk

View File

@ -56,7 +56,7 @@ bool pluginSupportsAsyncBitmapDrawing();
/**
* Returns true if the plugin supports DXGI bitmap drawing.
*/
static bool pluginSupportsAsyncDXGIDrawing()
inline bool pluginSupportsAsyncDXGIDrawing()
{
#ifdef XP_WIN
return true;