diff --git a/DEPS b/DEPS index d65a5afbc0..40d6615ffe 100644 --- a/DEPS +++ b/DEPS @@ -113,7 +113,7 @@ deps = { # WGSL support 'third_party/tint': { - 'url': '{dawn_git}/tint@3cdb8e3c3e0a8affa648d5a5031d5ff9f35633f9', + 'url': '{dawn_git}/tint@0b39270e01ce2327dd8c01d8d7192e823cec4424', }, # GLFW for tests and samples diff --git a/src/dawn_native/CompilationMessages.cpp b/src/dawn_native/CompilationMessages.cpp index aaac193156..75833ebded 100644 --- a/src/dawn_native/CompilationMessages.cpp +++ b/src/dawn_native/CompilationMessages.cpp @@ -67,8 +67,8 @@ namespace dawn::native { uint64_t offset = 0; uint64_t length = 0; - if (lineNum && linePos && diagnostic.source.file_content) { - const auto& lines = diagnostic.source.file_content->lines; + if (lineNum && linePos && diagnostic.source.file) { + const auto& lines = diagnostic.source.file->content.lines; size_t i = 0; // To find the offset of the message position, loop through each of the first lineNum-1 // lines and add it's length (+1 to account for the line break) to the offset.