OLD | NEW |
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 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 | 946 |
947 case V8SVGElement_OffsetWidth_AttributeGetter: | 947 case V8SVGElement_OffsetWidth_AttributeGetter: |
948 return willBeRemoved("'SVGElement.offsetWidth'", 50, "5724912467574784")
; | 948 return willBeRemoved("'SVGElement.offsetWidth'", 50, "5724912467574784")
; |
949 | 949 |
950 case V8SVGElement_OffsetHeight_AttributeGetter: | 950 case V8SVGElement_OffsetHeight_AttributeGetter: |
951 return willBeRemoved("'SVGElement.offsetHeight'", 50, "5724912467574784"
); | 951 return willBeRemoved("'SVGElement.offsetHeight'", 50, "5724912467574784"
); |
952 | 952 |
953 case MediaStreamTrackGetSources: | 953 case MediaStreamTrackGetSources: |
954 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom
estatus.com/feature/4765305641369600 for more details."; | 954 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom
estatus.com/feature/4765305641369600 for more details."; |
955 | 955 |
956 case CSSXGetComputedStyleQueries: | |
957 return replacedWillBeRemoved("'getComputedStyle(e).cssXx' (except .cssFl
oat)", "'getComputedStyle(e).xx'", 50, "5006796888473600"); | |
958 | |
959 case DocumentDefaultCharset: | 956 case DocumentDefaultCharset: |
960 return willBeRemoved("'Document.defaultCharset'", 50, "6217124578066432"
); | 957 return willBeRemoved("'Document.defaultCharset'", 50, "6217124578066432"
); |
961 | 958 |
962 case V8TouchEvent_InitTouchEvent_Method: | 959 case V8TouchEvent_InitTouchEvent_Method: |
963 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv
ent constructor", 53, "5730982598541312"); | 960 return replacedWillBeRemoved("'TouchEvent.initTouchEvent'", "the TouchEv
ent constructor", 53, "5730982598541312"); |
964 | 961 |
965 case RTCPeerConnectionCreateAnswerLegacyNoFailureCallback: | 962 case RTCPeerConnectionCreateAnswerLegacyNoFailureCallback: |
966 return "RTCPeerConnection.CreateAnswer without a failure callback is dep
recated. The failure callback will be a required parameter in M50. See https://w
ww.chromestatus.com/feature/5663288008376320 for more details"; | 963 return "RTCPeerConnection.CreateAnswer without a failure callback is dep
recated. The failure callback will be a required parameter in M50. See https://w
ww.chromestatus.com/feature/5663288008376320 for more details"; |
967 | 964 |
968 case RTCPeerConnectionCreateOfferLegacyNoFailureCallback: | 965 case RTCPeerConnectionCreateOfferLegacyNoFailureCallback: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1011 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1008 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
1012 { | 1009 { |
1013 // FIXME: We may want to handle stylesheets that have multiple owners | 1010 // FIXME: We may want to handle stylesheets that have multiple owners |
1014 // https://crbug.com/242125 | 1011 // https://crbug.com/242125 |
1015 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1012 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
1016 return getFrom(sheetContents->singleOwnerDocument()); | 1013 return getFrom(sheetContents->singleOwnerDocument()); |
1017 return 0; | 1014 return 0; |
1018 } | 1015 } |
1019 | 1016 |
1020 } // namespace blink | 1017 } // namespace blink |
OLD | NEW |