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

Side by Side Diff: Source/core/frame/UseCounter.h

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix some failures Created 6 years, 8 months 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 | Annotate | Revision Log
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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 CanvasRenderingContext2DSetLineCap = 333, 353 CanvasRenderingContext2DSetLineCap = 333,
354 CanvasRenderingContext2DSetLineJoin = 334, 354 CanvasRenderingContext2DSetLineJoin = 334,
355 CanvasRenderingContext2DSetMiterLimit = 335, 355 CanvasRenderingContext2DSetMiterLimit = 335,
356 CanvasRenderingContext2DClearShadow = 336, 356 CanvasRenderingContext2DClearShadow = 336,
357 CanvasRenderingContext2DSetStrokeColor = 337, 357 CanvasRenderingContext2DSetStrokeColor = 337,
358 CanvasRenderingContext2DSetFillColor = 338, 358 CanvasRenderingContext2DSetFillColor = 338,
359 CanvasRenderingContext2DDrawImageFromRect = 339, 359 CanvasRenderingContext2DDrawImageFromRect = 339,
360 CanvasRenderingContext2DSetShadow = 340, 360 CanvasRenderingContext2DSetShadow = 340,
361 PrefixedPerformanceClearResourceTimings = 341, 361 PrefixedPerformanceClearResourceTimings = 341,
362 PrefixedPerformanceSetResourceTimingBufferSize = 342, 362 PrefixedPerformanceSetResourceTimingBufferSize = 342,
363 RangeDetach = 343,
363 // Add new features immediately above this line. Don't change assigned 364 // Add new features immediately above this line. Don't change assigned
364 // numbers of any item, and don't reuse removed slots. 365 // numbers of any item, and don't reuse removed slots.
365 NumberOfFeatures, // This enum value must be last. 366 NumberOfFeatures, // This enum value must be last.
366 }; 367 };
367 368
368 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 369 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
369 static void count(const Document&, Feature); 370 static void count(const Document&, Feature);
370 static void count(const ExecutionContext*, Feature); 371 static void count(const ExecutionContext*, Feature);
371 void count(CSSParserContext, CSSPropertyID); 372 void count(CSSParserContext, CSSPropertyID);
372 void count(Feature); 373 void count(Feature);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 416
416 void updateMeasurements(); 417 void updateMeasurements();
417 418
418 OwnPtr<BitVector> m_countBits; 419 OwnPtr<BitVector> m_countBits;
419 BitVector m_CSSFeatureBits; 420 BitVector m_CSSFeatureBits;
420 }; 421 };
421 422
422 } // namespace WebCore 423 } // namespace WebCore
423 424
424 #endif // UseCounter_h 425 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698