Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp

Issue 1518893003: SkPaint::kGenA8FromLCD_Flagis no longer used, so remove references to it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 appendFlagToString(&flagsString, paint.isUnderlineText(), "UnderlinText"); 325 appendFlagToString(&flagsString, paint.isUnderlineText(), "UnderlinText");
326 appendFlagToString(&flagsString, paint.isStrikeThruText(), "StrikeThruText") ; 326 appendFlagToString(&flagsString, paint.isStrikeThruText(), "StrikeThruText") ;
327 appendFlagToString(&flagsString, paint.isFakeBoldText(), "FakeBoldText"); 327 appendFlagToString(&flagsString, paint.isFakeBoldText(), "FakeBoldText");
328 appendFlagToString(&flagsString, paint.isLinearText(), "LinearText"); 328 appendFlagToString(&flagsString, paint.isLinearText(), "LinearText");
329 appendFlagToString(&flagsString, paint.isSubpixelText(), "SubpixelText"); 329 appendFlagToString(&flagsString, paint.isSubpixelText(), "SubpixelText");
330 appendFlagToString(&flagsString, paint.isDevKernText(), "DevKernText"); 330 appendFlagToString(&flagsString, paint.isDevKernText(), "DevKernText");
331 appendFlagToString(&flagsString, paint.isLCDRenderText(), "LCDRenderText"); 331 appendFlagToString(&flagsString, paint.isLCDRenderText(), "LCDRenderText");
332 appendFlagToString(&flagsString, paint.isEmbeddedBitmapText(), "EmbeddedBitm apText"); 332 appendFlagToString(&flagsString, paint.isEmbeddedBitmapText(), "EmbeddedBitm apText");
333 appendFlagToString(&flagsString, paint.isAutohinted(), "Autohinted"); 333 appendFlagToString(&flagsString, paint.isAutohinted(), "Autohinted");
334 appendFlagToString(&flagsString, paint.isVerticalText(), "VerticalText"); 334 appendFlagToString(&flagsString, paint.isVerticalText(), "VerticalText");
335 appendFlagToString(&flagsString, paint.getFlags() & SkPaint::kGenA8FromLCD_F lag, "GenA8FromLCD"); 335 appendFlagToString(&flagsString, false, "GenA8FromLCD");
bungeman-chromium 2015/12/10 22:50:00 Same here, seems we'd rather delete it.
336 return flagsString; 336 return flagsString;
337 } 337 }
338 338
339 String filterQualityName(SkFilterQuality filterQuality) 339 String filterQualityName(SkFilterQuality filterQuality)
340 { 340 {
341 switch (filterQuality) { 341 switch (filterQuality) {
342 case kNone_SkFilterQuality: return "None"; 342 case kNone_SkFilterQuality: return "None";
343 case kLow_SkFilterQuality: return "Low"; 343 case kLow_SkFilterQuality: return "Low";
344 case kMedium_SkFilterQuality: return "Medium"; 344 case kMedium_SkFilterQuality: return "Medium";
345 case kHigh_SkFilterQuality: return "High"; 345 case kHigh_SkFilterQuality: return "High";
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 return pictureAsJSON->toPrettyJSONString(); 874 return pictureAsJSON->toPrettyJSONString();
875 } 875 }
876 876
877 void showSkPicture(const SkPicture* picture) 877 void showSkPicture(const SkPicture* picture)
878 { 878 {
879 WTFLogAlways("%s\n", pictureAsDebugString(picture).utf8().data()); 879 WTFLogAlways("%s\n", pictureAsDebugString(picture).utf8().data());
880 } 880 }
881 #endif 881 #endif
882 882
883 } // namespace blink 883 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698