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

Unified Diff: sky/engine/core/rendering/RenderText.h

Issue 673403002: Remove compiler feature detection for = delete (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Don't remove #define for FINAL Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/rendering/RenderMedia.h ('k') | sky/engine/platform/heap/Heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderText.h
diff --git a/sky/engine/core/rendering/RenderText.h b/sky/engine/core/rendering/RenderText.h
index 1524fd7f088696d37f83e5933022e4667bdfdb76..adb8db9644336af55d766448c1b1049d9d0a90af 100644
--- a/sky/engine/core/rendering/RenderText.h
+++ b/sky/engine/core/rendering/RenderText.h
@@ -169,7 +169,7 @@ private:
float widthFromCache(const Font&, int start, int len, float xPos, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*) const;
bool isAllASCII() const { return m_isAllASCII; }
- bool isText() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
+ bool isText() const = delete; // This will catch anyone doing an unnecessary check.
// We put the bitfield first to minimize padding on 64-bit.
bool m_hasBreakableChar : 1; // Whether or not we can be broken into multiple lines.
« no previous file with comments | « sky/engine/core/rendering/RenderMedia.h ('k') | sky/engine/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698