diff options
author | Nick Kralevich <nnk@google.com> | 2014-11-01 18:37:39 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2014-11-01 18:37:39 -0700 |
commit | bfed827028eae460a40464be7dbe146f4d748e26 (patch) | |
tree | 8a77dcc5376f10ac7fe2320dabad122b9ef011f0 /libs/hwui/Layer.h | |
parent | 2042e40b96d24db4fc040f0673006d3ba83f06b4 (diff) | |
download | frameworks_base-bfed827028eae460a40464be7dbe146f4d748e26.zip frameworks_base-bfed827028eae460a40464be7dbe146f4d748e26.tar.gz frameworks_base-bfed827028eae460a40464be7dbe146f4d748e26.tar.bz2 |
partially fix build.
Addresses the following compile time errors:
In file included from frameworks/base/libs/hwui/LayerRenderer.cpp:24:0:
frameworks/base/libs/hwui/RenderState.h:77:24: error: 'VirtualLightRefBase' has not been declared
void postDecStrong(VirtualLightRefBase* object);
^
In file included from frameworks/base/libs/hwui/LayerCache.h:21:0,
from frameworks/base/libs/hwui/LayerRenderer.cpp:25:
frameworks/base/libs/hwui/Layer.h:55:42: error: expected class-name before '{' token
class Layer : public VirtualLightRefBase {
^
In file included from frameworks/base/libs/hwui/RenderState.cpp:16:0:
frameworks/base/libs/hwui/RenderState.h:77:24: error: 'VirtualLightRefBase' has not been declared
void postDecStrong(VirtualLightRefBase* object);
^
Change-Id: I2be439b373ea356b861f413ff6ce323e8d9baf2d
Diffstat (limited to 'libs/hwui/Layer.h')
-rw-r--r-- | libs/hwui/Layer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Layer.h b/libs/hwui/Layer.h index 2d6a727..3b909d5 100644 --- a/libs/hwui/Layer.h +++ b/libs/hwui/Layer.h @@ -20,6 +20,7 @@ #include <cutils/compiler.h> #include <sys/types.h> #include <utils/StrongPointer.h> +#include <utils/RefBase.h> #include <GLES2/gl2.h> |