Small tweaks to be able to build everything target:
- fParsed is unused. - Quiet down a bogus -Wuninitialized warning in QWeakPointer. Tested Clang and GCC on Linux. BUG= R=bungeman@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/128573002 git-svn-id: http://skia.googlecode.com/svn/trunk@12970 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
506ecc24bf
commit
d08d23b385
@ -329,7 +329,7 @@ static int skstoi(const SkPdfNativeObject* str) {
|
||||
token.fKeywordLength==sizeof(keyword)-1 && \
|
||||
strncmp(token.fKeyword, keyword, sizeof(keyword)-1) == 0)
|
||||
|
||||
SkPdfToUnicode::SkPdfToUnicode(SkPdfNativeDoc* parsed, SkPdfStream* stream) : fParsed(parsed) {
|
||||
SkPdfToUnicode::SkPdfToUnicode(SkPdfNativeDoc* parsed, SkPdfStream* stream) {
|
||||
fCMapEncoding = NULL;
|
||||
fCMapEncodingFlag = NULL;
|
||||
|
||||
|
@ -85,7 +85,6 @@ public:
|
||||
SkTDict<SkPdfEncoding*>& getStandardEncodings();
|
||||
|
||||
class SkPdfToUnicode {
|
||||
SkPdfNativeDoc* fParsed;
|
||||
// TODO(edisonn): hide public members
|
||||
public:
|
||||
unsigned short* fCMapEncoding;
|
||||
|
@ -143,6 +143,10 @@
|
||||
'<(moc_gen_dir)/moc_SkImageWidget.cpp',
|
||||
'<(moc_gen_dir)/moc_SkGLWidget.cpp',
|
||||
],
|
||||
'cflags': [
|
||||
# Clang gets confused by QWeakPointer, see http://llvm.org/bugs/show_bug.cgi?id=13127
|
||||
'-Wno-uninitialized',
|
||||
],
|
||||
'dependencies': [
|
||||
'debugger_qt_mocs',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user