summaryrefslogtreecommitdiffstats
path: root/client-compiler
diff options
context:
space:
mode:
authordenisanisimov <denis@vaadin.com>2014-01-30 16:03:33 +0200
committerVaadin Code Review <review@vaadin.com>2014-03-13 12:00:54 +0000
commit18b66b9fe767e39fa42c8e3631a3d273c0f30a59 (patch)
tree321da8e73c4eaa770e624848c3453132d51fdf9c /client-compiler
parente623a34cd452d2e9494317ffd9f4a0159e733ad6 (diff)
downloadvaadin-framework-18b66b9fe767e39fa42c8e3631a3d273c0f30a59.tar.gz
vaadin-framework-18b66b9fe767e39fa42c8e3631a3d273c0f30a59.zip
Avoid using toString method to access to SCSS serialized state (#9530).
Change-Id: I387ae1bbc960acd5a5a588b38c6791a9c9a90690
Diffstat (limited to 'client-compiler')
-rw-r--r--client-compiler/src/com/vaadin/sass/linker/SassLinker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client-compiler/src/com/vaadin/sass/linker/SassLinker.java b/client-compiler/src/com/vaadin/sass/linker/SassLinker.java
index 05d9e311a6..3183f4bfe7 100644
--- a/client-compiler/src/com/vaadin/sass/linker/SassLinker.java
+++ b/client-compiler/src/com/vaadin/sass/linker/SassLinker.java
@@ -132,7 +132,7 @@ public class SassLinker extends AbstractLinker {
if (!fileInfo.isMixin()) {
scss.compile();
InputStream is = new ByteArrayInputStream(scss
- .toString().getBytes());
+ .printState().getBytes());
toReturn.add(this.emitInputStream(logger, is,
fileInfo.getOriginalCssPath()));