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

Side by Side Diff: third_party/WebKit/Source/core/frame/UseCounter.cpp

Issue 1426403003: canvas: Remove darker composite operator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 824
825 case XHRProgressEventTotalSize: 825 case XHRProgressEventTotalSize:
826 return "The XMLHttpRequest progress event property 'totalSize' is deprec ated. Please use 'total' instead."; 826 return "The XMLHttpRequest progress event property 'totalSize' is deprec ated. Please use 'total' instead.";
827 827
828 case ConsoleTimeline: 828 case ConsoleTimeline:
829 return replacedBy("console.timeline", "console.time"); 829 return replacedBy("console.timeline", "console.time");
830 830
831 case ConsoleTimelineEnd: 831 case ConsoleTimelineEnd:
832 return replacedBy("console.timelineEnd", "console.timeEnd"); 832 return replacedBy("console.timelineEnd", "console.timeEnd");
833 833
834 case CanvasRenderingContext2DCompositeOperationDarker:
835 return replacedBy("darker", "darken");
836
837 case XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: 834 case XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload:
838 return "Synchronous XMLHttpRequest on the main thread is deprecated beca use of its detrimental effects to the end user's experience. For more help, chec k https://xhr.spec.whatwg.org/."; 835 return "Synchronous XMLHttpRequest on the main thread is deprecated beca use of its detrimental effects to the end user's experience. For more help, chec k https://xhr.spec.whatwg.org/.";
839 836
840 case GetMatchedCSSRules: 837 case GetMatchedCSSRules:
841 return "'getMatchedCSSRules()' is deprecated. For more help, check https ://code.google.com/p/chromium/issues/detail?id=437569#c2"; 838 return "'getMatchedCSSRules()' is deprecated. For more help, check https ://code.google.com/p/chromium/issues/detail?id=437569#c2";
842 839
843 case PrefixedImageSmoothingEnabled: 840 case PrefixedImageSmoothingEnabled:
844 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled" , "CanvasRenderingContext2D.imageSmoothingEnabled"); 841 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled" , "CanvasRenderingContext2D.imageSmoothingEnabled");
845 842
846 case AudioListenerDopplerFactor: 843 case AudioListenerDopplerFactor:
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 979 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
983 { 980 {
984 // FIXME: We may want to handle stylesheets that have multiple owners 981 // FIXME: We may want to handle stylesheets that have multiple owners
985 // https://crbug.com/242125 982 // https://crbug.com/242125
986 if (sheetContents && sheetContents->hasSingleOwnerNode()) 983 if (sheetContents && sheetContents->hasSingleOwnerNode())
987 return getFrom(sheetContents->singleOwnerDocument()); 984 return getFrom(sheetContents->singleOwnerDocument());
988 return 0; 985 return 0;
989 } 986 }
990 987
991 } // namespace blink 988 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698