mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Previously layout was exiting early because the frame view was null. Now we actually compute some layout and paint the text. This patch makes paragraph_builder_test pass.
20 lines
524 B
C++
20 lines
524 B
C++
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef SKY_ENGINE_CORE_TEXT_FONTSTYLE_H_
|
|
#define SKY_ENGINE_CORE_TEXT_FONTSTYLE_H_
|
|
|
|
#include "sky/engine/tonic/dart_converter.h"
|
|
#include "sky/engine/platform/fonts/FontTraits.h"
|
|
|
|
namespace blink {
|
|
|
|
template <>
|
|
struct DartConverter<FontStyle>
|
|
: public DartConverterEnum<FontStyle> {};
|
|
|
|
} // namespace blink
|
|
|
|
#endif // SKY_ENGINE_CORE_TEXT_FONTSTYLE_H_
|